[FFmpeg-cvslog] r20206 - trunk/libavformat/utils.c

cehoyos subversion
Sun Oct 11 13:56:53 CEST 2009


Author: cehoyos
Date: Sun Oct 11 13:56:53 2009
New Revision: 20206

Log:
Allow autodetection of E-AC3.

Modified:
   trunk/libavformat/utils.c

Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	Sun Oct 11 13:50:12 2009	(r20205)
+++ trunk/libavformat/utils.c	Sun Oct 11 13:56:53 2009	(r20206)
@@ -329,6 +329,9 @@ static int set_codec_from_probe_data(AVF
         } 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;



More information about the ffmpeg-cvslog mailing list