[FFmpeg-cvslog] r20241 - trunk/libavcodec/asv1.c

reimar subversion
Thu Oct 15 19:16:50 CEST 2009


Author: reimar
Date: Thu Oct 15 19:16:50 2009
New Revision: 20241

Log:
Add missing release_buffer at decode end for asv1 decoder.

Modified:
   trunk/libavcodec/asv1.c

Modified: trunk/libavcodec/asv1.c
==============================================================================
--- trunk/libavcodec/asv1.c	Thu Oct 15 19:10:07 2009	(r20240)
+++ trunk/libavcodec/asv1.c	Thu Oct 15 19:16:50 2009	(r20241)
@@ -607,6 +607,9 @@ static av_cold int decode_end(AVCodecCon
     av_freep(&a->picture.qscale_table);
     a->bitstream_buffer_size=0;
 
+    if(a->picture.data[0])
+        avctx->release_buffer(avctx, &a->picture);
+
     return 0;
 }
 



More information about the ffmpeg-cvslog mailing list