Commit 10046cfe authored by cehoyos's avatar cehoyos

Probe aac codecs for CODEC_ID_PROBE.

Patch by Joakim Plate, elupus ecce se


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22742 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5b665669
...@@ -370,6 +370,9 @@ static int set_codec_from_probe_data(AVFormatContext *s, AVStream *st, AVProbeDa ...@@ -370,6 +370,9 @@ static int set_codec_from_probe_data(AVFormatContext *s, AVStream *st, AVProbeDa
} else if (!strcmp(fmt->name, "dts")) { } else if (!strcmp(fmt->name, "dts")) {
st->codec->codec_id = CODEC_ID_DTS; st->codec->codec_id = CODEC_ID_DTS;
st->codec->codec_type = AVMEDIA_TYPE_AUDIO; 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; return !!fmt;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment