mirror of https://git.ffmpeg.org/ffmpeg.git
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->prev_index = ctx->next_prev_index;
|
||||||
ctx->cur_index = ctx->next_cur_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;
|
return buf_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue