Browse code

Bink version 'h' also has chroma planes swapped

Originally committed as revision 22236 to svn://svn.ffmpeg.org/ffmpeg/trunk

Kostya Shishkov authored on 2010/03/07 00:09:14
Showing 1 changed files
... ...
@@ -956,7 +956,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
956 956
     }
957 957
     flags = AV_RL32(avctx->extradata);
958 958
     c->has_alpha = flags & BINK_FLAG_ALPHA;
959
-    c->swap_planes = c->version >= 'i';
959
+    c->swap_planes = c->version >= 'h';
960 960
     if (!bink_trees[15].table) {
961 961
         for (i = 0; i < 16; i++) {
962 962
             const int maxbits = bink_tree_lens[i][15];