diff movenc.c @ 286:eccf0c3e3289 libavformat

Using the extension m4a for audio only MPEG-4 files is increasingly common, especially since Apple iTunes treats files with the two extensions differently. Without the patch, FFmpeg won't know that m4a is for MPEG-4 files patch by (Dan Christiansen <danchr at daimi dot au dot dk>)
author michael
date Sun, 19 Oct 2003 20:57:47 +0000
parents e091218eccd2
children 0b2eed7b1210
line wrap: on
line diff
--- a/movenc.c	Sat Oct 18 18:47:06 2003 +0000
+++ b/movenc.c	Sun Oct 19 20:57:47 2003 +0000
@@ -889,8 +889,8 @@
 static AVOutputFormat mp4_oformat = {
     "mp4",
     "mp4 format",
-    NULL,
-    "mp4",
+    "application/mp4",
+    "mp4,m4a",
     sizeof(MOVContext),
     CODEC_ID_AAC,
     CODEC_ID_MPEG4,