mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
Release unreleased buffers found by make test.
Originally committed as revision 20251 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user