aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-09 20:24:49 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-09 20:24:49 +0100
commit68bc012190f9732a0f103fdd08f9bc63edc1c74d (patch)
treeb96b018bacfcb722b337dd06a56a3338052d67c5 /libavformat/utils.c
parent0af7ccd9e2689e5ae1a4532907b6d7c2e169ebb9 (diff)
downloadffmpeg-68bc012190f9732a0f103fdd08f9bc63edc1c74d.tar.gz
http/utils: move mime -> demuxer maping from http to utils
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 3439d2c62b..62d518798f 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -429,7 +429,9 @@ int av_probe_input_buffer(AVIOContext *pb, AVInputFormat **fmt,
}
if (!*fmt && pb && pb->av_class && av_opt_get(pb, "demuxer", AV_OPT_SEARCH_CHILDREN, &demuxer_name) >= 0 && demuxer_name) {
- *fmt = av_find_input_format(demuxer_name);
+ if (!av_strcasecmp(demuxer_name, "audio/aacp")) {
+ *fmt = av_find_input_format("aac");
+ }
}
for(probe_size= PROBE_BUF_MIN; probe_size<=max_probe_size && !*fmt;