changeset 5272:f49b29ab43fc libavformat

Allow autodetection of E-AC3.
author cehoyos
date Sun, 11 Oct 2009 11:56:53 +0000
parents 9a5be9006cf7
children f292b3e34823
files utils.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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;