changeset 11371:4532987cd74b libavcodec

Bink version 'h' also has chroma planes swapped
author kostya
date Sat, 06 Mar 2010 15:09:14 +0000
parents 4b3da727d832
children e6e95656937d
files bink.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bink.c	Sat Mar 06 14:34:46 2010 +0000
+++ b/bink.c	Sat Mar 06 15:09:14 2010 +0000
@@ -956,7 +956,7 @@
     }
     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];