avcodec/fic: Ensure skip frames have up-to-date props
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
8bed944dda
commit
45920251d9
1 changed files with 4 additions and 0 deletions
|
|
@ -301,6 +301,10 @@ static int fic_decode_frame(AVCodecContext *avctx, AVFrame *rframe,
|
|||
av_log(avctx, AV_LOG_WARNING, "Initial frame is skipped\n");
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
ret = ff_reget_buffer(avctx, ctx->final_frame,
|
||||
FF_REGET_BUFFER_FLAG_READONLY);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
goto skip;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue