[FFmpeg-cvslog] ffv1dec: PIX_FMT_YUV440P support

Paul B Mahol git at videolan.org
Wed Feb 1 19:35:27 CET 2012


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Feb  1 01:54:18 2012 +0000| [ec09230c9a11fbac602380614b35a51ad3a8dc3a] | committer: Michael Niedermayer

ffv1dec: PIX_FMT_YUV440P support

Signed-off-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ec09230c9a11fbac602380614b35a51ad3a8dc3a
---

 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;



More information about the ffmpeg-cvslog mailing list