Commit e40fd818 authored by Clément Bœsch's avatar Clément Bœsch

Merge commit 'a115eb9e'

* commit 'a115eb9e':
  mimic: do not release the newly obsolete reference at the end of decoding
Merged-by: 's avatarClément Bœsch <u@pkh.me>
parents 9f28db47 a115eb9e
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment