We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 916be62 commit f0cd561Copy full SHA for f0cd561
libavcodec/ffv1dec.c
@@ -439,6 +439,11 @@ static int read_extra_header(FFV1Context *f)
439
av_log(f->avctx, AV_LOG_ERROR, "Invalid version in global header\n");
440
return AVERROR_INVALIDDATA;
441
}
442
+ if (f->version > 4) {
443
+ av_log(f->avctx, AV_LOG_ERROR, "unsupported version %d\n",
444
+ f->version);
445
+ return AVERROR_PATCHWELCOME;
446
+ }
447
if (f->version > 2) {
448
c->bytestream_end -= 4;
449
f->micro_version = get_symbol(c, state, 0);
0 commit comments