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:
parent
d7a4961e53
commit
8790961d7e
@ -293,5 +293,5 @@ AVCodecParser mlp_parser = {
|
|||||||
sizeof(MLPParseContext),
|
sizeof(MLPParseContext),
|
||||||
mlp_init,
|
mlp_init,
|
||||||
mlp_parse,
|
mlp_parse,
|
||||||
NULL,
|
ff_parse_close,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user