diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-02-01 01:54:18 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-02-01 19:25:58 +0100 |
commit | ec09230c9a11fbac602380614b35a51ad3a8dc3a (patch) | |
tree | 16b02dcaf3e2a29060d7fb30a3cd7160fb8a20cd | |
parent | 917803babdb40dda98c8eb7c080991fea663c790 (diff) | |
download | ffmpeg-ec09230c9a11fbac602380614b35a51ad3a8dc3a.tar.gz |
ffv1dec: PIX_FMT_YUV440P support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/ffv1.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |