[SCM] libav/experimental: memory leak

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:44:08 UTC 2013


The following commit has been merged in the experimental branch:
commit ba4ffc2b48832c7ca95ac6e48f8c4f23aa4ad3a6
Author: Loren Merritt <lorenm at u.washington.edu>
Date:   Thu May 19 19:11:40 2005 +0000

    memory leak
    
    Originally committed as revision 4282 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index cf0580c..d8dbc3f 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -3491,6 +3491,7 @@ static void flush_dpb(AVCodecContext *avctx){
         h->delayed_pic[i]= NULL;
     h->delayed_output_pic= NULL;
     idr(h);
+    h->s.current_picture_ptr->reference= 0;
 }
 
 /**

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list