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

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


Author: reimar
Date: Fri Feb 14 23:29:35 2014
New Revision: 36835

Log:
Remove condition that was already checked a few lines above.

Modified:
   trunk/libmpdemux/demux_mpg.c

Modified: trunk/libmpdemux/demux_mpg.c
==============================================================================
--- trunk/libmpdemux/demux_mpg.c	Fri Feb 14 22:34:07 2014	(r36834)
+++ trunk/libmpdemux/demux_mpg.c	Fri Feb 14 23:29:35 2014	(r36835)
@@ -1047,8 +1047,6 @@ static int demux_mpg_control(demuxer_t *
               sh_audio_t *sh_audio = d_audio->sh;
               sh_audio_t *sh_a = sh_audio;
               int i;
-	      if(!sh_audio)
-	        return DEMUXER_CTRL_NOTIMPL;
               if (*((int*)arg) < 0)
               {
               for (i = 0; i < mpg_d->num_a_streams; i++) {


More information about the MPlayer-cvslog mailing list