aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2021-02-11 18:09:35 +0100
committerPaul B Mahol <onemda@gmail.com>2021-02-12 20:43:51 +0100
commitd1802e263c21686f95f51dc0002bc396209e8479 (patch)
tree3d45666e95b3f68a1df84b57f6e9a3c7c7ffb738
parent68fa294bf85247dd1236e6ef4292b4903eb192e9 (diff)
downloadffmpeg-d1802e263c21686f95f51dc0002bc396209e8479.tar.gz
avcodec/dpx: add support for other single component 8bit files
-rw-r--r--libavcodec/dpx.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/dpx.c b/libavcodec/dpx.c
index 702caa385e..5372e3d586 100644
--- a/libavcodec/dpx.c
+++ b/libavcodec/dpx.c
@@ -497,6 +497,14 @@ static int decode_frame(AVCodecContext *avctx,
}
switch (1000 * descriptor + 10 * bits_per_color + endian) {
+ case 1081:
+ case 1080:
+ case 2081:
+ case 2080:
+ case 3081:
+ case 3080:
+ case 4081:
+ case 4080:
case 6081:
case 6080:
avctx->pix_fmt = AV_PIX_FMT_GRAY8;