[FFmpeg-cvslog] mpeg12dec: Remove incomplete and wrong UV swapping code for VCR2
Diego Biurrun
git at videolan.org
Thu Nov 14 08:56:58 CET 2013
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Wed Nov 13 18:44:25 2013 +0100| [321514042534a2501a9f6223b88f0d2b8060f858] | committer: Michael Niedermayer
mpeg12dec: Remove incomplete and wrong UV swapping code for VCR2
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=321514042534a2501a9f6223b88f0d2b8060f858
---
libavcodec/mpeg12dec.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c
index 913a400..ff5ea16 100644
--- a/libavcodec/mpeg12dec.c
+++ b/libavcodec/mpeg12dec.c
@@ -2106,7 +2106,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;
}
More information about the ffmpeg-cvslog
mailing list