mirror of https://git.ffmpeg.org/ffmpeg.git
ffv1: fix version=2 chroma handling
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
5612359501
commit
1b295a17d7
|
@ -1556,7 +1556,7 @@ static int read_extra_header(FFV1Context *f){
|
||||||
}
|
}
|
||||||
f->colorspace= get_symbol(c, state, 0); //YUV cs type
|
f->colorspace= get_symbol(c, state, 0); //YUV cs type
|
||||||
f->avctx->bits_per_raw_sample= get_symbol(c, state, 0);
|
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_h_shift= get_symbol(c, state, 0);
|
||||||
f->chroma_v_shift= get_symbol(c, state, 0);
|
f->chroma_v_shift= get_symbol(c, state, 0);
|
||||||
f->transparency= get_rac(c, state);
|
f->transparency= get_rac(c, state);
|
||||||
|
|
Loading…
Reference in New Issue