1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

mlp_parser: Fix memleak.

ff_combine_frame() is called, which allocates ParseContext->buffer if needed,
so ff_parse_close() must be called to free it.
Patch by jai.

Originally committed as revision 22005 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Jai Menon 2010-02-23 16:54:05 +00:00 committed by Ramiro Polla
parent d7a4961e53
commit 8790961d7e

View File

@ -293,5 +293,5 @@ AVCodecParser mlp_parser = {
sizeof(MLPParseContext), sizeof(MLPParseContext),
mlp_init, mlp_init,
mlp_parse, mlp_parse,
NULL, ff_parse_close,
}; };