Mercurial > mplayer.hg
diff libmpdemux/demux_avi.c @ 36811:92dd1764392a
demuxers: remove pointless sh->ds assignments.
The new_sh_* functions have been fixed a long time
ago to do this.
author | reimar |
---|---|
date | Sun, 23 Feb 2014 18:14:44 +0000 |
parents | 1c991ec0e6da |
children |
line wrap: on
line diff
--- a/libmpdemux/demux_avi.c Sun Feb 23 18:02:21 2014 +0000 +++ b/libmpdemux/demux_avi.c Sun Feb 23 18:14:44 2014 +0000 @@ -541,14 +541,14 @@ mp_msg(MSGT_DEMUX,MSGL_ERR,"AVI: " MSGTR_MissingVideoStreamBug); return NULL; } - sh_video=d_video->sh;sh_video->ds=d_video; + sh_video=d_video->sh; if(d_audio->id!=-2){ mp_msg(MSGT_DEMUX,MSGL_V,"AVI: Searching for audio stream (id:%d)\n",d_audio->id); if(!priv->audio_streams || !try_ds_fill(demuxer, d_audio)){ mp_msg(MSGT_DEMUX,MSGL_INFO,"AVI: " MSGTR_MissingAudioStream); d_audio->sh=sh_audio=NULL; } else { - sh_audio=d_audio->sh;sh_audio->ds=d_audio; + sh_audio=d_audio->sh; } }