projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a57afd2
)
Add missing release_buffer at decode end for asv1 decoder.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Thu, 15 Oct 2009 17:16:50 +0000
(17:16 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Thu, 15 Oct 2009 17:16:50 +0000
(17:16 +0000)
Originally committed as revision 20241 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/asv1.c
patch
|
blob
|
history
diff --git
a/libavcodec/asv1.c
b/libavcodec/asv1.c
index
5f9d523
..
3b60bc1
100644
(file)
--- 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;
}