[FFmpeg-cvslog] r22005 - trunk/libavcodec/mlp_parser.c

ramiro subversion
Tue Feb 23 17:54:05 CET 2010


Author: ramiro
Date: Tue Feb 23 17:54:05 2010
New Revision: 22005

Log:
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.

Modified:
   trunk/libavcodec/mlp_parser.c

Modified: trunk/libavcodec/mlp_parser.c
==============================================================================
--- trunk/libavcodec/mlp_parser.c	Tue Feb 23 17:49:16 2010	(r22004)
+++ trunk/libavcodec/mlp_parser.c	Tue Feb 23 17:54:05 2010	(r22005)
@@ -293,5 +293,5 @@ AVCodecParser mlp_parser = {
     sizeof(MLPParseContext),
     mlp_init,
     mlp_parse,
-    NULL,
+    ff_parse_close,
 };



More information about the ffmpeg-cvslog mailing list