From ec09230c9a11fbac602380614b35a51ad3a8dc3a Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Wed, 1 Feb 2012 01:54:18 +0000 Subject: [PATCH] ffv1dec: PIX_FMT_YUV440P support Signed-off-by: Paul B Mahol Signed-off-by: Michael Niedermayer --- libavcodec/ffv1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c index 874697a787..0ab2b5cd6c 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;