summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 8b57b39d59..23731a8e6b 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -370,6 +370,9 @@ static int set_codec_from_probe_data(AVFormatContext *s, AVStream *st, AVProbeDa
} else if (!strcmp(fmt->name, "dts")) {
st->codec->codec_id = CODEC_ID_DTS;
st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
+ } else if (!strcmp(fmt->name, "aac")) {
+ st->codec->codec_id = CODEC_ID_AAC;
+ st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
}
}
return !!fmt;