mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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
This commit is contained in:
parent
8166c498df
commit
46da7fa133
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user