Revision 0bf5a0cf libavcodec/bink.c

View differences:

libavcodec/bink.c
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];

Also available in: Unified diff