[MPlayer-cvslog] r32685 - trunk/libmpdemux/demux_asf.c

reimar subversion at mplayerhq.hu
Sat Dec 11 16:45:31 CET 2010


Author: reimar
Date: Sat Dec 11 16:45:31 2010
New Revision: 32685

Log:
Remove pointless assignments that are already handled in new_sh_audio.

Modified:
   trunk/libmpdemux/demux_asf.c

Modified: trunk/libmpdemux/demux_asf.c
==============================================================================
--- trunk/libmpdemux/demux_asf.c	Sat Dec 11 16:43:24 2010	(r32684)
+++ trunk/libmpdemux/demux_asf.c	Sat Dec 11 16:45:31 2010	(r32685)
@@ -622,7 +622,6 @@ static int demux_asf_control(demuxer_t *
 static demuxer_t* demux_open_asf(demuxer_t* demuxer)
 {
     struct asf_priv* asf = demuxer->priv;
-    sh_audio_t *sh_audio=NULL;
     sh_video_t *sh_video=NULL;
 
     //---- ASF header:
@@ -655,8 +654,6 @@ static demuxer_t* demux_open_asf(demuxer
         if(!ds_fill_buffer(demuxer->audio)){
             mp_msg(MSGT_DEMUXER,MSGL_INFO,"ASF: " MSGTR_MissingAudioStream);
             demuxer->audio->sh=NULL;
-        } else {
-            sh_audio=demuxer->audio->sh;sh_audio->ds=demuxer->audio;
         }
     }
     if(!demuxer->stream->seek)


More information about the MPlayer-cvslog mailing list