changeset 32598:cbe2409b0c7f

Remove pointless assignments that are already handled in new_sh_audio.
author reimar
date Sat, 11 Dec 2010 15:45:31 +0000
parents 627c9e32c3f2
children b8afc497ccd3
files libmpdemux/demux_asf.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_asf.c	Sat Dec 11 15:43:24 2010 +0000
+++ b/libmpdemux/demux_asf.c	Sat Dec 11 15:45:31 2010 +0000
@@ -622,7 +622,6 @@
 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 @@
         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)