summaryrefslogtreecommitdiff
path: root/libavformat/format.c
diff options
context:
space:
mode:
authorJun Zhao <mypopydev@gmail.com>2018-04-08 08:09:13 +0800
committerJun Zhao <jun.zhao@intel.com>2018-05-06 15:07:28 +0800
commit053ee996a03b8744af6e12d39e3087efae218b64 (patch)
treefd7ab3725f5c65c40bca103bcc92a6fb0c3cec89 /libavformat/format.c
parent4d3e9e31356b4d7d4196f271e19679ea65e51223 (diff)
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>
Diffstat (limited to 'libavformat/format.c')
-rw-r--r--libavformat/format.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libavformat/format.c b/libavformat/format.c
index 1c66afb7e6..2c4c895530 100644
--- a/libavformat/format.c
+++ b/libavformat/format.c
@@ -250,14 +250,6 @@ int av_probe_input_buffer2(AVIOContext *pb, AVInputFormat **fmt,
*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;
probe_size = FFMIN(probe_size << 1,