Replace an incorrect av_free() in movenc.c with av_freep().
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Mon, 10 Mar 2014 12:30:51 +0000 (13:30 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Mon, 10 Mar 2014 12:30:51 +0000 (13:30 +0100)
libavformat/movenc.c

index b917a59..e21c32a 100644 (file)
@@ -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