diff --git a/libavformat/hevc.c b/libavformat/hevc.c index e3be20cfb6..37b35b4d2d 100644 --- a/libavformat/hevc.c +++ b/libavformat/hevc.c @@ -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;