aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/parser.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-10-20 09:02:55 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-10-20 09:02:55 +0000
commitc8714ea1b39ed25c61f91cbae6930defc3682cc9 (patch)
treeb795356c1364e72134c6d9a72dbe4f0dde4833bf /libavcodec/parser.c
parent772581680ce4f1804c18916a636005713c612093 (diff)
downloadffmpeg-c8714ea1b39ed25c61f91cbae6930defc3682cc9.tar.gz
Use av_freep() in ff_parse_close().
Originally committed as revision 15654 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/parser.c')
-rw-r--r--libavcodec/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/parser.c b/libavcodec/parser.c
index 7262b92878..460693f2dd 100644
--- a/libavcodec/parser.c
+++ b/libavcodec/parser.c
@@ -291,7 +291,7 @@ void ff_parse_close(AVCodecParserContext *s)
{
ParseContext *pc = s->priv_data;
- av_free(pc->buffer);
+ av_freep(&pc->buffer);
}
void ff_parse1_close(AVCodecParserContext *s)