changeset 36741:f690ce5daaee

Remove unnecessary if() that only hides bugs.
author reimar
date Fri, 14 Feb 2014 22:29:37 +0000
parents d29468059da8
children f72673e98df2
files libmpdemux/demux_mpg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mpg.c	Fri Feb 14 22:29:36 2014 +0000
+++ b/libmpdemux/demux_mpg.c	Fri Feb 14 22:29:37 2014 +0000
@@ -283,7 +283,7 @@
     //evo files
     if((aid & 0xC0) == 0xC0) sh_a->format=0x2000;
     else if(aid >= 0x98 && aid <= 0x9f) sh_a->format=0x2001;
-    if (mpg_d) mpg_d->a_stream_ids[mpg_d->num_a_streams++] = aid;
+    mpg_d->a_stream_ids[mpg_d->num_a_streams++] = aid;
   }
   if(demux->audio->id==-1) demux->audio->id=aid;
 }