avcodec/dpx: add support for other single component 8bit files

This commit is contained in:
Paul B Mahol 2021-02-11 18:09:35 +01:00
parent 68fa294bf8
commit d1802e263c
1 changed files with 8 additions and 0 deletions

View File

@ -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;