ffmpeg | branch: master | Clément Bœsch <u...@pkh.me> | Wed Mar 15 21:23:30 
2017 +0100| [e40fd81809eaf2725727437a2e015814e9f576a5] | committer: Clément 
Bœsch

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>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e40fd81809eaf2725727437a2e015814e9f576a5
---

 libavcodec/mimic.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavcodec/mimic.c b/libavcodec/mimic.c
index 06fb393..0cc30ab 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;
 }
 


======================================================================


_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to