From d68ac92dc2ae0e66860d90d18835d27bd7d2aa28 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Mon, 10 Mar 2014 13:30:51 +0100 Subject: [PATCH] Replace an incorrect av_free() in movenc.c with av_freep(). --- libavformat/movenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index b917a59fb5..e21c32a30b 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -3598,7 +3598,7 @@ static int mov_create_chapter_track(AVFormatContext *s, int tracknum) track->enc->extradata = buf; track->enc->extradata_size = size; } else { - av_free(&buf); + av_freep(&buf); } } #endif