aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-09 23:27:31 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-11 12:06:13 +0100
commitebe356bf1cc94a8152649dc358ed13e0188d4dda (patch)
treec265c602f0bbfb52c2e463f61e359605a07bbb03
parent30099413ecf667f5972edd3ddeb49503b0823e70 (diff)
downloadffmpeg-ebe356bf1cc94a8152649dc358ed13e0188d4dda.tar.gz
avformat/hevc: fix mix of av_malloc() with free()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 88c8e4afeaf74ee58b67145e0331e229d8050968) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/hevc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/hevc.c b/libavformat/hevc.c
index 6e935e6038..19dd2f40cf 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;
@@ -1109,7 +1109,7 @@ int ff_hevc_annexb2mp4_buf(const uint8_t *buf_in, uint8_t **buf_out,
*size = avio_close_dyn_buf(pb, buf_out);
end:
- free(start);
+ av_free(start);
if (ps_count)
*ps_count = num_ps;
return ret;