Mercurial > libavformat.hg
diff utils.c @ 5272:f49b29ab43fc libavformat
Allow autodetection of E-AC3.
| author | cehoyos |
|---|---|
| date | Sun, 11 Oct 2009 11:56:53 +0000 |
| parents | f3913172e206 |
| children | f18f00a37c22 |
line wrap: on
line diff
--- a/utils.c Sat Oct 10 21:17:52 2009 +0000 +++ b/utils.c Sun Oct 11 11:56:53 2009 +0000 @@ -329,6 +329,9 @@ } else if (!strcmp(fmt->name, "ac3")) { st->codec->codec_id = CODEC_ID_AC3; st->codec->codec_type = CODEC_TYPE_AUDIO; + } else if (!strcmp(fmt->name, "eac3")) { + st->codec->codec_id = CODEC_ID_EAC3; + st->codec->codec_type = CODEC_TYPE_AUDIO; } else if (!strcmp(fmt->name, "mpegvideo")) { st->codec->codec_id = CODEC_ID_MPEG2VIDEO; st->codec->codec_type = CODEC_TYPE_VIDEO;
