mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Bink version 'h' also has chroma planes swapped
Originally committed as revision 22236 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
1429224b04
commit
0bf5a0cf46
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user