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

Submitted by Paul B Mahol on Dec. 6, 2018, 7:34 p.m.

Details

Message ID 20181206193424.21383-4-onemda@gmail.com
State Accepted
Commit f628970e409cb3bba3150d1271a96eab47fd4233
Headers show

Commit Message

Paul B Mahol Dec. 6, 2018, 7:34 p.m.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
---
 libavcodec/dpx.c | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

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;