diff --git a/libavcodec/mimic.c b/libavcodec/mimic.c index 06fb393b92..0cc30ab0ed 100644 --- a/libavcodec/mimic.c +++ b/libavcodec/mimic.c @@ -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; }