diff options
author | Clément Bœsch <u@pkh.me> | 2017-03-15 21:23:30 +0100 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-03-15 21:23:30 +0100 |
commit | e40fd81809eaf2725727437a2e015814e9f576a5 (patch) | |
tree | a327ab918e9be250e4623dc16c7c859768c87f97 /libavcodec/mimic.c | |
parent | 9f28db47accb31bfec40a56dd2dc19ffd366a6be (diff) | |
parent | a115eb9e750543f1d8bf951414d291069bf396c2 (diff) |
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>
Diffstat (limited to 'libavcodec/mimic.c')
-rw-r--r-- | libavcodec/mimic.c | 3 |
1 files changed, 0 insertions, 3 deletions
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; } |