diff libmpdemux/demuxer.c @ 33872:d7bc4bcc3523

Support parsing of AAC audio. Fixes playing of files with AAC audio with native demuxer and lavc decoder.
author reimar
date Tue, 09 Aug 2011 20:14:30 +0000
parents 30f5e5cd3676
children 50489783444d
line wrap: on
line diff
--- a/libmpdemux/demuxer.c	Tue Aug 09 19:57:00 2011 +0000
+++ b/libmpdemux/demuxer.c	Tue Aug 09 20:14:30 2011 +0000
@@ -477,6 +477,9 @@
     init_avcodec();
 
     switch (format) {
+    case MKTAG('M', 'P', '4', 'A'):
+        codec_id = CODEC_ID_AAC;
+        break;
     case MKTAG('M', 'P', '4', 'L'):
         codec_id = CODEC_ID_AAC_LATM;
         break;