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:
Clément Bœsch 2017-03-15 21:23:30 +01:00
commit e40fd81809

View File

@ -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;
}