Mercurial > mplayer.hg
diff libmpdemux/demux_lavf.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 | 68794f2fbf1e |
children | cb116df2475d |
line wrap: on
line diff
--- a/libmpdemux/demux_lavf.c Sun Feb 23 18:02:21 2014 +0000 +++ b/libmpdemux/demux_lavf.c Sun Feb 23 18:14:44 2014 +0000 @@ -316,7 +316,6 @@ sh_audio->audio.dwScale /= g; sh_audio->audio.dwRate /= g; // printf("sca:%d rat:%d fs:%d sr:%d ba:%d\n", sh_audio->audio.dwScale, sh_audio->audio.dwRate, codec->frame_size, codec->sample_rate, codec->block_align); - sh_audio->ds= demuxer->audio; sh_audio->format= codec->codec_tag; sh_audio->channels= codec->channels; sh_audio->samplerate= codec->sample_rate; @@ -411,7 +410,6 @@ codec->width, codec->sample_aspect_ratio.num, codec->height, codec->sample_aspect_ratio.den); - sh_video->ds= demuxer->video; if(codec->extradata_size) memcpy(sh_video->bih + 1, codec->extradata, codec->extradata_size); if( mp_msg_test(MSGT_HEADER,MSGL_V) ) print_video_header(sh_video->bih, MSGL_V);