[Ffmpeg-cvslog] r6951 - trunk/libavformat/mov.c

bcoudurier subversion
Thu Nov 9 01:09:27 CET 2006


Author: bcoudurier
Date: Thu Nov  9 01:09:27 2006
New Revision: 6951

Modified:
   trunk/libavformat/mov.c

Log:
support for Po-Slow_Death_64K.mov

Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c	(original)
+++ trunk/libavformat/mov.c	Thu Nov  9 01:09:27 2006
@@ -412,6 +412,8 @@
         st->codec->codec_type = CODEC_TYPE_VIDEO;
     else if(type == MKTAG('s', 'o', 'u', 'n'))
         st->codec->codec_type = CODEC_TYPE_AUDIO;
+    else if(type == MKTAG('m', '1', 'a', ' '))
+        st->codec->codec_id = CODEC_ID_MP2;
     get_be32(pb); /* component  manufacture */
     get_be32(pb); /* component flags */
     get_be32(pb); /* component flags mask */
@@ -1037,6 +1039,7 @@
         st->codec->channels= 1; /* really needed */
         break;
     case CODEC_ID_MP2:
+        st->codec->codec_type = CODEC_TYPE_AUDIO; /* force type after stsd for m1a hdlr */
         st->need_parsing = 1;
         break;
     default:




More information about the ffmpeg-cvslog mailing list