avcodec/dpx: add support for another gray10 variant
authorPaul B Mahol <onemda@gmail.com>
Thu, 6 Dec 2018 19:25:33 +0000 (20:25 +0100)
committerPaul B Mahol <onemda@gmail.com>
Fri, 7 Dec 2018 18:44:57 +0000 (19:44 +0100)
libavcodec/dpx.c

index 31d8331..cfe60aa 100644 (file)
@@ -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;