You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-10-06 05:47:18 +02:00
avcodec/av1dec: don't emit a warning when parsing isobmff style extradata
No OBUs may be present and it's a valid scenario, so only warn when parsing raw extradata. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -893,7 +893,8 @@ static av_cold int av1_decode_init(AVCodecContext *avctx)
|
||||
|
||||
seq = ((CodedBitstreamAV1Context *)(s->cbc->priv_data))->sequence_header;
|
||||
if (!seq) {
|
||||
av_log(avctx, AV_LOG_WARNING, "No sequence header available.\n");
|
||||
if (!(avctx->extradata[0] & 0x80))
|
||||
av_log(avctx, AV_LOG_WARNING, "No sequence header available in extradata.\n");
|
||||
goto end;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user