[SCM] libav/experimental: Fix 10l leak in ffv1.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:18:16 UTC 2013


The following commit has been merged in the experimental branch:
commit a0e7079a207fc38cb3754cf11a29863c81f633e4
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Thu Oct 28 12:15:50 2010 +0000

    Fix 10l leak in ffv1.
    
    Originally committed as revision 25595 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index e52d6f9..813e41d 100644
--- a/libavcodec/ffv1.c
+++ b/libavcodec/ffv1.c
@@ -1295,6 +1295,10 @@ static av_cold int common_end(AVCodecContext *avctx){
         av_freep(&s->rc_stat2[j]);
     }
 
+    for(i=0; i<s->slice_count; i++){
+        av_freep(&s->slice_context[i]);
+    }
+
     return 0;
 }
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list