lavf: always use av_free

Signed-off-by: Tim Walker <tdskywalker@gmail.com>
(cherry picked from commit 77e9123fe5)
This commit is contained in:
Michael Niedermayer
2014-03-10 15:03:14 +00:00
committed by Reinhard Tartler
parent 6d56bc9a6d
commit 3533a850e7

View 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;