mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/dpx: add support for other single component 8bit files
This commit is contained in:
parent
68fa294bf8
commit
d1802e263c
@ -497,6 +497,14 @@ static int decode_frame(AVCodecContext *avctx,
|
|||||||
}
|
}
|
||||||
|
|
||||||
switch (1000 * descriptor + 10 * bits_per_color + endian) {
|
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 6081:
|
||||||
case 6080:
|
case 6080:
|
||||||
avctx->pix_fmt = AV_PIX_FMT_GRAY8;
|
avctx->pix_fmt = AV_PIX_FMT_GRAY8;
|
||||||
|
Loading…
Reference in New Issue
Block a user