[FFmpeg-cvslog] ffv1dec: PIX_FMT_YUVA444P support

Paul B Mahol git at videolan.org
Tue Jan 31 22:00:02 CET 2012


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Jan 31 20:18:24 2012 +0000| [c8eba9f9d56ed47f4e50793f975532697cbd07b7] | committer: Michael Niedermayer

ffv1dec: PIX_FMT_YUVA444P 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=c8eba9f9d56ed47f4e50793f975532697cbd07b7
---

 libavcodec/ffv1.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index 782f97b..7a88688 100644
--- a/libavcodec/ffv1.c
+++ b/libavcodec/ffv1.c
@@ -1587,6 +1587,7 @@ static int read_header(FFV1Context *f){
             }
         }else 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_YUVA444P; break;
             case 0x11: f->avctx->pix_fmt= PIX_FMT_YUVA420P; break;
             default:
                 av_log(f->avctx, AV_LOG_ERROR, "format not supported\n");



More information about the ffmpeg-cvslog mailing list