Commit 425517ee authored by Diego Biurrun's avatar Diego Biurrun Committed by Michael Niedermayer
Browse files

mpeg12dec: Remove incomplete and wrong UV swapping code for VCR2

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 32151404

)
Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
No related merge requests found
Showing with 0 additions and 1 deletion
+0 -1
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment