[FFmpeg-cvslog] ffv1: fix version=2 chroma handling
Michael Niedermayer
git at videolan.org
Sun Apr 8 16:35:16 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Apr 8 15:03:40 2012 +0200| [1b295a17d75c5ac9f509e0ea8a88634839c9ec64] | committer: Michael Niedermayer
ffv1: fix version=2 chroma handling
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1b295a17d75c5ac9f509e0ea8a88634839c9ec64
---
libavcodec/ffv1.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index 3eee963..ca58d09 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);
More information about the ffmpeg-cvslog
mailing list