Mercurial > libavformat.hg
diff utils.c @ 5912:10f577d87c71 libavformat
Probe aac codecs for CODEC_ID_PROBE.
Patch by Joakim Plate, elupus ecce se
| author | cehoyos |
|---|---|
| date | Wed, 31 Mar 2010 10:45:15 +0000 |
| parents | 536e5527c1e0 |
| children | 11bb10c37225 |
line wrap: on
line diff
--- a/utils.c Wed Mar 31 09:22:31 2010 +0000 +++ b/utils.c Wed Mar 31 10:45:15 2010 +0000 @@ -370,6 +370,9 @@ } 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;
