summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-10-25 20:35:03 +0300
committerUoti Urpala <uau@mplayer2.org>2011-10-25 20:35:03 +0300
commitc0b7851f23b561aa708a78f00961652603a18013 (patch)
tree60d20b93c120dfa07baa0f98352322b152a4fb5e
parent8b5efd6455370c02211f9fec2a3dbb74f5d0fcbc (diff)
downloadmpv-c0b7851f23b561aa708a78f00961652603a18013.tar.bz2
mpv-c0b7851f23b561aa708a78f00961652603a18013.tar.xz
vd_ffmpeg.c: remove useless realvideo avctx->sub_id setting
Libavcodec has ignored the caller-set sub_id value since 2006.
-rw-r--r--libmpcodecs/vd_ffmpeg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c
index e17ecc5e2f..21fa55c2e5 100644
--- a/libmpcodecs/vd_ffmpeg.c
+++ b/libmpcodecs/vd_ffmpeg.c
@@ -337,7 +337,6 @@ static int init(sh_video_t *sh)
FF_INPUT_BUFFER_PADDING_SIZE);
memcpy(avctx->extradata, sh->bih + 1, avctx->extradata_size);
}
- avctx->sub_id = AV_RB32(avctx->extradata + 4);
break;
default: