[SCM] libav/experimental: Add missing release_buffer at decode end for asv1 decoder.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:52:55 UTC 2013


The following commit has been merged in the experimental branch:
commit 77edf866483072f90c2312fcde2d7ba06e4e6745
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date:   Thu Oct 15 17:16:50 2009 +0000

    Add missing release_buffer at decode end for asv1 decoder.
    
    Originally committed as revision 20241 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/asv1.c b/libavcodec/asv1.c
index 5f9d523..3b60bc1 100644
--- a/libavcodec/asv1.c
+++ b/libavcodec/asv1.c
@@ -607,6 +607,9 @@ static av_cold int decode_end(AVCodecContext *avctx){
     av_freep(&a->picture.qscale_table);
     a->bitstream_buffer_size=0;
 
+    if(a->picture.data[0])
+        avctx->release_buffer(avctx, &a->picture);
+
     return 0;
 }
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list