Commit 46da7fa1 authored by Joakim Plate's avatar Joakim Plate Committed by Carl Eugen Hoyos

Probe aac codecs for CODEC_ID_PROBE.

Patch by Joakim Plate, elupus ecce se

Originally committed as revision 22742 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 8166c498
......@@ -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;
......
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