changeset 36739:690ca924c15a

Remove condition that was already checked a few lines above.
author reimar
date Fri, 14 Feb 2014 22:29:35 +0000
parents e3d879a5f1cf
children d29468059da8
files libmpdemux/demux_mpg.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mpg.c	Fri Feb 14 21:34:07 2014 +0000
+++ b/libmpdemux/demux_mpg.c	Fri Feb 14 22:29:35 2014 +0000
@@ -1047,8 +1047,6 @@
               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++) {