From 425517eecbb0dd708434d409ed43b5b078719bfd Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 13 Nov 2013 18:44:25 +0100 Subject: [PATCH] mpeg12dec: Remove incomplete and wrong UV swapping code for VCR2 Signed-off-by: Michael Niedermayer (cherry picked from commit 321514042534a2501a9f6223b88f0d2b8060f858) Signed-off-by: Michael Niedermayer --- libavcodec/mpeg12dec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c index 82b503d717..31a986199e 100644 --- a/libavcodec/mpeg12dec.c +++ b/libavcodec/mpeg12dec.c @@ -2070,7 +2070,6 @@ static int vcr2_init_sequence(AVCodecContext *avctx) if (s->codec_tag == AV_RL32("BW10")) { s->codec_id = s->avctx->codec_id = AV_CODEC_ID_MPEG1VIDEO; } else { - exchange_uv(s); // common init reset pblocks, so we swap them here s->swap_uv = 1; // in case of xvmc we need to swap uv for each MB s->codec_id = s->avctx->codec_id = AV_CODEC_ID_MPEG2VIDEO; }