Commit 1b295a17 authored by Michael Niedermayer's avatar Michael Niedermayer

ffv1: fix version=2 chroma handling

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 56123595
......@@ -1556,7 +1556,7 @@ static int read_extra_header(FFV1Context *f){
}
f->colorspace= get_symbol(c, state, 0); //YUV cs type
f->avctx->bits_per_raw_sample= get_symbol(c, state, 0);
get_rac(c, state); //no chroma = false
f->chroma_planes= get_rac(c, state);
f->chroma_h_shift= get_symbol(c, state, 0);
f->chroma_v_shift= get_symbol(c, state, 0);
f->transparency= get_rac(c, state);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment