diff --git a/libavcodec/mimic.c b/libavcodec/mimic.c index 6f43723ef6..d7723a8ef7 100644 --- a/libavcodec/mimic.c +++ b/libavcodec/mimic.c @@ -445,9 +445,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; }