[FFmpeg-devel] [PATCH 4/7] avcodec/dpx: add support for another gray10 variant

Paul B Mahol onemda at gmail.com
Thu Dec 6 21:34:21 EET 2018


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 libavcodec/dpx.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/dpx.c b/libavcodec/dpx.c
index 31d8331068..cfe60aaaa1 100644
--- a/libavcodec/dpx.c
+++ b/libavcodec/dpx.c
@@ -323,6 +323,7 @@ static int decode_frame(AVCodecContext *avctx,
     case 51121:
         avctx->pix_fmt = AV_PIX_FMT_GBRAP12;
         break;
+    case 6100:
     case 6101:
         avctx->pix_fmt = AV_PIX_FMT_GRAY10;
         break;
-- 
2.17.1



More information about the ffmpeg-devel mailing list