Release unreleased buffers found by make test.

Originally committed as revision 20251 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Carl Eugen Hoyos
2009-10-16 14:50:08 +00:00
parent bc2d2a07d5
commit 0b7f39c9d4
3 changed files with 20 additions and 5 deletions

View File

@ -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);