[FFmpeg-cvslog] Replace an incorrect av_free() in movenc.c with av_freep().

Carl Eugen Hoyos git at videolan.org
Tue Mar 11 01:09:15 CET 2014


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Mon Mar 10 13:30:51 2014 +0100| [d68ac92dc2ae0e66860d90d18835d27bd7d2aa28] | committer: Carl Eugen Hoyos

Replace an incorrect av_free() in movenc.c with av_freep().

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d68ac92dc2ae0e66860d90d18835d27bd7d2aa28
---

 libavformat/movenc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index b917a59..e21c32a 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



More information about the ffmpeg-cvslog mailing list