diff parser.c @ 8040:def5fcc1d40e libavcodec

Use av_freep() in ff_parse_close().
author michael
date Mon, 20 Oct 2008 09:02:55 +0000
parents b5f5257c0c70
children 8c1e1047ec78
line wrap: on
line diff
--- a/parser.c	Mon Oct 20 07:35:17 2008 +0000
+++ b/parser.c	Mon Oct 20 09:02:55 2008 +0000
@@ -291,7 +291,7 @@
 {
     ParseContext *pc = s->priv_data;
 
-    av_free(pc->buffer);
+    av_freep(&pc->buffer);
 }
 
 void ff_parse1_close(AVCodecParserContext *s)