changeset 10405:c687042d9bde libavcodec

Add missing release_buffer at decode end for asv1 decoder.
author reimar
date Thu, 15 Oct 2009 17:16:50 +0000
parents e234640098aa
children 825c7f57cfac
files asv1.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/asv1.c	Thu Oct 15 17:10:07 2009 +0000
+++ b/asv1.c	Thu Oct 15 17:16:50 2009 +0000
@@ -607,6 +607,9 @@
     av_freep(&a->picture.qscale_table);
     a->bitstream_buffer_size=0;
 
+    if(a->picture.data[0])
+        avctx->release_buffer(avctx, &a->picture);
+
     return 0;
 }