[FFmpeg-devel] [PATCH 2/2] ffv1dec: PIX_FMT_YUV440P support
Paul B Mahol
onemda at gmail.com
Wed Feb 1 02:54:18 CET 2012
Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
libavcodec/ffv1.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index 874697a..0ab2b5c 100644
--- a/libavcodec/ffv1.c
+++ b/libavcodec/ffv1.c
@@ -1578,6 +1578,7 @@ static int read_header(FFV1Context *f){
if(f->avctx->bits_per_raw_sample<=8 && !f->transparency){
switch(16*f->chroma_h_shift + f->chroma_v_shift){
case 0x00: f->avctx->pix_fmt= PIX_FMT_YUV444P; break;
+ case 0x01: f->avctx->pix_fmt= PIX_FMT_YUV440P; break;
case 0x10: f->avctx->pix_fmt= PIX_FMT_YUV422P; break;
case 0x11: f->avctx->pix_fmt= PIX_FMT_YUV420P; break;
case 0x20: f->avctx->pix_fmt= PIX_FMT_YUV411P; break;
--
1.7.7
More information about the ffmpeg-devel
mailing list