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

cehoyos subversion
Wed Mar 31 12:45:15 CEST 2010


Author: cehoyos
Date: Wed Mar 31 12:45:15 2010
New Revision: 22742

Log:
Probe aac codecs for CODEC_ID_PROBE.

Patch by Joakim Plate, elupus ecce se

Modified:
   trunk/libavformat/utils.c

Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	Wed Mar 31 11:22:31 2010	(r22741)
+++ trunk/libavformat/utils.c	Wed Mar 31 12:45:15 2010	(r22742)
@@ -370,6 +370,9 @@ static int set_codec_from_probe_data(AVF
         } 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;



More information about the ffmpeg-cvslog mailing list