diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-04-08 15:03:40 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-04-08 16:01:37 +0200 |
commit | 1b295a17d75c5ac9f509e0ea8a88634839c9ec64 (patch) | |
tree | 68fdd2ce7a26ccd24cd72a3bf84ff0e1cada2a6e /libavcodec/ffv1.c | |
parent | 5612359501651be8eac4dead04bd69aae2aa9dfa (diff) | |
download | ffmpeg-1b295a17d75c5ac9f509e0ea8a88634839c9ec64.tar.gz |
ffv1: fix version=2 chroma handling
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/ffv1.c')
-rw-r--r-- | libavcodec/ffv1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c index 3eee963054..ca58d09823 100644 --- a/libavcodec/ffv1.c +++ b/libavcodec/ffv1.c @@ -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); |