Mercurial > mplayer.hg
comparison libmpdemux/demux_mpg.c @ 36741:f690ce5daaee
Remove unnecessary if() that only hides bugs.
author | reimar |
---|---|
date | Fri, 14 Feb 2014 22:29:37 +0000 |
parents | d29468059da8 |
children | f72673e98df2 |
comparison
equal
deleted
inserted
replaced
36740:d29468059da8 | 36741:f690ce5daaee |
---|---|
281 else sh_a->format=0x2000;break; // ac3 | 281 else sh_a->format=0x2000;break; // ac3 |
282 } | 282 } |
283 //evo files | 283 //evo files |
284 if((aid & 0xC0) == 0xC0) sh_a->format=0x2000; | 284 if((aid & 0xC0) == 0xC0) sh_a->format=0x2000; |
285 else if(aid >= 0x98 && aid <= 0x9f) sh_a->format=0x2001; | 285 else if(aid >= 0x98 && aid <= 0x9f) sh_a->format=0x2001; |
286 if (mpg_d) mpg_d->a_stream_ids[mpg_d->num_a_streams++] = aid; | 286 mpg_d->a_stream_ids[mpg_d->num_a_streams++] = aid; |
287 } | 287 } |
288 if(demux->audio->id==-1) demux->audio->id=aid; | 288 if(demux->audio->id==-1) demux->audio->id=aid; |
289 } | 289 } |
290 | 290 |
291 static int demux_mpg_read_packet(demuxer_t *demux,int id){ | 291 static int demux_mpg_read_packet(demuxer_t *demux,int id){ |