[MPlayer-cvslog] r36837 - trunk/libmpdemux/demux_mpg.c

reimar subversion at mplayerhq.hu
Fri Feb 14 23:29:37 CET 2014


Author: reimar
Date: Fri Feb 14 23:29:37 2014
New Revision: 36837

Log:
Remove unnecessary if() that only hides bugs.

Modified:
   trunk/libmpdemux/demux_mpg.c

Modified: trunk/libmpdemux/demux_mpg.c
==============================================================================
--- trunk/libmpdemux/demux_mpg.c	Fri Feb 14 23:29:36 2014	(r36836)
+++ trunk/libmpdemux/demux_mpg.c	Fri Feb 14 23:29:37 2014	(r36837)
@@ -283,7 +283,7 @@ static void new_audio_stream(demuxer_t *
     //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;
 }


More information about the MPlayer-cvslog mailing list