mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
Merge commit 'a115eb9e750543f1d8bf951414d291069bf396c2'
* commit 'a115eb9e750543f1d8bf951414d291069bf396c2': mimic: do not release the newly obsolete reference at the end of decoding Merged-by: Clément Bœsch <u@pkh.me>
This commit is contained in:
commit
e40fd81809
@ -446,9 +446,6 @@ static int mimic_decode_frame(AVCodecContext *avctx, void *data,
|
||||
ctx->prev_index = ctx->next_prev_index;
|
||||
ctx->cur_index = ctx->next_cur_index;
|
||||
|
||||
/* Only release frames that aren't used for backreferences anymore */
|
||||
ff_thread_release_buffer(avctx, &ctx->frames[ctx->cur_index]);
|
||||
|
||||
return buf_size;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user