Message ID | 20161124222954.3FAD65DACC@aruru.libav.org |
---|---|
State | New |
Headers | show |
diff --git a/libavcodec/mimic.c b/libavcodec/mimic.c index 6f43723..d7723a8 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; }