Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-15 23:23:30 +0300
committerClément Bœsch <u@pkh.me>2017-03-15 23:23:30 +0300
commite40fd81809eaf2725727437a2e015814e9f576a5 (patch)
treea327ab918e9be250e4623dc16c7c859768c87f97 /libavcodec/mimic.c
parent9f28db47accb31bfec40a56dd2dc19ffd366a6be (diff)
parenta115eb9e750543f1d8bf951414d291069bf396c2 (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.c3
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;
}