mirror of https://git.ffmpeg.org/ffmpeg.git
lavf: fix memleak
Fixes CID747738 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
9696ad6a76
commit
a70b38d2dd
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue