diff asv1.c @ 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 38cfe222e1a4
children 825c7f57cfac
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;
 }