OSDN Git Service

lavf: always use av_free
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 10 Mar 2014 15:03:14 +0000 (15:03 +0000)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 10 Mar 2014 17:02:55 +0000 (18:02 +0100)
Signed-off-by: Tim Walker <tdskywalker@gmail.com>
libavformat/hevc.c

index e3be20c..37b35b4 100644 (file)
@@ -1056,7 +1056,7 @@ int ff_hevc_annexb2mp4(AVIOContext *pb, const uint8_t *buf_in,
     }
 
 end:
-    free(start);
+    av_free(start);
     if (ps_count)
         *ps_count = num_ps;
     return ret;