Commit a70b38d2 authored by Michael Niedermayer's avatar Michael Niedermayer

lavf: fix memleak

Fixes CID747738
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 9696ad6a
......@@ -432,6 +432,7 @@ int av_probe_input_buffer(AVIOContext *pb, AVInputFormat **fmt,
if (!av_strcasecmp(mime_type, "audio/aacp")) {
*fmt = av_find_input_format("aac");
}
av_freep(&mime_type);
}
for(probe_size= PROBE_BUF_MIN; probe_size<=max_probe_size && !*fmt;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment