aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2019-07-11 16:53:09 +0200
committerPaul B Mahol <onemda@gmail.com>2019-07-11 16:53:09 +0200
commit2601eef850f1ec37fdcc6f36c89eeb1d361de348 (patch)
tree091722192bb0f4077be63b6ab0e997ac6e14aa3d /libavcodec
parentaf9dc02e6b07c66250a76e6c51da65a37e46b953 (diff)
downloadffmpeg-2601eef850f1ec37fdcc6f36c89eeb1d361de348.tar.gz
avcodec/magicyuv: add support for recently added YUV444P10
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/magicyuv.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/magicyuv.c b/libavcodec/magicyuv.c
index 1a129c2619..f4fb2a7809 100644
--- a/libavcodec/magicyuv.c
+++ b/libavcodec/magicyuv.c
@@ -592,6 +592,13 @@ static int magy_decode_frame(AVCodecContext *avctx, void *data,
s->magy_decode_slice = magy_decode_slice10;
s->bps = 10;
break;
+ case 0x76:
+ avctx->pix_fmt = AV_PIX_FMT_YUV444P10;
+ s->max = 1024;
+ s->huff_build = huff_build10;
+ s->magy_decode_slice = magy_decode_slice10;
+ s->bps = 10;
+ break;
case 0x6d:
avctx->pix_fmt = AV_PIX_FMT_GBRP10;
s->decorrelate = 1;