From 1b295a17d75c5ac9f509e0ea8a88634839c9ec64 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 8 Apr 2012 15:03:40 +0200 Subject: [PATCH] ffv1: fix version=2 chroma handling Signed-off-by: Michael Niedermayer --- libavcodec/ffv1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);