aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2010-03-06 15:09:14 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2010-03-06 15:09:14 +0000
commit0bf5a0cf4633bd4213ea585749ebc394700af507 (patch)
treec0a62bf2cd685928aff5942c78c54d20ac0e126f /libavcodec
parent1429224b04cd10ef0d81c1c0d6eae82a5afad4d8 (diff)
downloadffmpeg-0bf5a0cf4633bd4213ea585749ebc394700af507.tar.gz
Bink version 'h' also has chroma planes swapped
Originally committed as revision 22236 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/bink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bink.c b/libavcodec/bink.c
index ebe95715fc..7465d215c2 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];