mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
avcodec/av1dec: reset the fragment on extradata reading failure
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
8c6b931f4c
commit
4da14c302f
@ -850,7 +850,7 @@ static av_cold int av1_decode_init(AVCodecContext *avctx)
|
||||
avctx);
|
||||
if (ret < 0) {
|
||||
av_log(avctx, AV_LOG_WARNING, "Failed to read extradata.\n");
|
||||
return ret;
|
||||
goto end;
|
||||
}
|
||||
|
||||
seq = ((CodedBitstreamAV1Context *)(s->cbc->priv_data))->sequence_header;
|
||||
|
Loading…
Reference in New Issue
Block a user