diff options
author | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-10-16 14:50:08 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-10-16 14:50:08 +0000 |
commit | 0b7f39c9d425db649f14cbc927fbce5cdc20828f (patch) | |
tree | 29b24b9d1eb5aa1780c40023c2b8d97dc6a6bf12 /libavcodec/huffyuv.c | |
parent | bc2d2a07d5bf1b6d13b16e106413c7e62979dcc1 (diff) | |
download | ffmpeg-0b7f39c9d425db649f14cbc927fbce5cdc20828f.tar.gz |
Release unreleased buffers found by make test.
Originally committed as revision 20251 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/huffyuv.c')
-rw-r--r-- | libavcodec/huffyuv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/huffyuv.c b/libavcodec/huffyuv.c index 32a6c0b296..531c55be0f 100644 --- a/libavcodec/huffyuv.c +++ b/libavcodec/huffyuv.c @@ -1185,6 +1185,9 @@ static av_cold int decode_end(AVCodecContext *avctx) HYuvContext *s = avctx->priv_data; int i; + if (s->picture.data[0]) + avctx->release_buffer(avctx, &s->picture); + common_end(s); av_freep(&s->bitstream_buffer); |