mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 03:28:27 +00:00
lavf/format: Remove the dead code in av_probe_input_buffer2.
Remove the dead code in av_probe_input_buffer2 Signed-off-by: Jun Zhao <mypopydev@gmail.com>
This commit is contained in:
parent
4d3e9e3135
commit
053ee996a0
@ -250,14 +250,6 @@ int av_probe_input_buffer2(AVIOContext *pb, AVInputFormat **fmt,
|
|||||||
*semi = '\0';
|
*semi = '\0';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if 0
|
|
||||||
if (!*fmt && pb->av_class && av_opt_get(pb, "mime_type", AV_OPT_SEARCH_CHILDREN, &mime_type) >= 0 && mime_type) {
|
|
||||||
if (!av_strcasecmp(mime_type, "audio/aacp")) {
|
|
||||||
*fmt = av_find_input_format("aac");
|
|
||||||
}
|
|
||||||
av_freep(&mime_type);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
for (probe_size = PROBE_BUF_MIN; probe_size <= max_probe_size && !*fmt;
|
for (probe_size = PROBE_BUF_MIN; probe_size <= max_probe_size && !*fmt;
|
||||||
probe_size = FFMIN(probe_size << 1,
|
probe_size = FFMIN(probe_size << 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user