diff options
author | Paul B Mahol <[email protected]> | 2012-01-31 20:18:24 +0000 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2012-01-31 21:45:34 +0100 |
commit | c8eba9f9d56ed47f4e50793f975532697cbd07b7 (patch) | |
tree | ac309be871fde4773b1239ec09e63ba481ba45b5 /libavcodec/ffv1.c | |
parent | b0a30ea7c8073f624d00ae0c1a5f7268900b857d (diff) |
ffv1dec: PIX_FMT_YUVA444P support
Signed-off-by: Paul B Mahol <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavcodec/ffv1.c')
-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 782f97be9a..7a88688d17 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"); |