aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ffv1enc.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2016-11-15 00:52:30 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2016-11-17 12:47:39 +0100
commitf8247c0ccebc2a153eb76a82961e4f6ca81e6f82 (patch)
tree34d946d721453eea0d5cd8320a5607a4338fda50 /libavcodec/ffv1enc.c
parent2c9106257ffca8faef367a410c16bd8220942f6e (diff)
downloadffmpeg-f8247c0ccebc2a153eb76a82961e4f6ca81e6f82.tar.gz
lavc/ffv1enc: Support pix_fmt GRAY10.
Diffstat (limited to 'libavcodec/ffv1enc.c')
-rw-r--r--libavcodec/ffv1enc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c
index 68d311d1b8..c56623be53 100644
--- a/libavcodec/ffv1enc.c
+++ b/libavcodec/ffv1enc.c
@@ -573,6 +573,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
case AV_PIX_FMT_YUVA420P9:
if (!avctx->bits_per_raw_sample)
s->bits_per_raw_sample = 9;
+ case AV_PIX_FMT_GRAY10:
case AV_PIX_FMT_YUV444P10:
case AV_PIX_FMT_YUV420P10:
case AV_PIX_FMT_YUV422P10:
@@ -1298,6 +1299,7 @@ AVCodec ff_ffv1_encoder = {
AV_PIX_FMT_GRAY16, AV_PIX_FMT_GRAY8, AV_PIX_FMT_GBRP9, AV_PIX_FMT_GBRP10,
AV_PIX_FMT_GBRP12, AV_PIX_FMT_GBRP14,
AV_PIX_FMT_YA8,
+ AV_PIX_FMT_GRAY10,
AV_PIX_FMT_GBRP16, AV_PIX_FMT_RGB48,
AV_PIX_FMT_NONE