You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/dpx: check packing
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -129,6 +129,11 @@ static int decode_frame(AVCodecContext *avctx,
|
|||||||
packing = read16(&buf, endian);
|
packing = read16(&buf, endian);
|
||||||
encoding = read16(&buf, endian);
|
encoding = read16(&buf, endian);
|
||||||
|
|
||||||
|
if (packing > 1) {
|
||||||
|
avpriv_report_missing_feature(avctx,
|
||||||
|
"Unsupported packing %d\n", packing);
|
||||||
|
return AVERROR_PATCHWELCOME;
|
||||||
|
}
|
||||||
if (encoding) {
|
if (encoding) {
|
||||||
avpriv_report_missing_feature(avctx,
|
avpriv_report_missing_feature(avctx,
|
||||||
"Unsupported encoding %d\n", encoding);
|
"Unsupported encoding %d\n", encoding);
|
||||||
|
Reference in New Issue
Block a user