From 0bf5a0cf4633bd4213ea585749ebc394700af507 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sat, 6 Mar 2010 15:09:14 +0000 Subject: [PATCH] Bink version 'h' also has chroma planes swapped Originally committed as revision 22236 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/bink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/bink.c b/libavcodec/bink.c index ebe95715f..7465d215c 100644 --- a/libavcodec/bink.c +++ b/libavcodec/bink.c @@ -956,7 +956,7 @@ static av_cold int decode_init(AVCodecContext *avctx) } flags = AV_RL32(avctx->extradata); c->has_alpha = flags & BINK_FLAG_ALPHA; - c->swap_planes = c->version >= 'i'; + c->swap_planes = c->version >= 'h'; if (!bink_trees[15].table) { for (i = 0; i < 16; i++) { const int maxbits = bink_tree_lens[i][15]; -- 2.11.0