You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavf: fix memleak
Fixes CID747738 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user