[FFmpeg-cvslog] r20571 - trunk/libavformat/movenc.c

jbr subversion
Sun Nov 22 03:07:10 CET 2009


Author: jbr
Date: Sun Nov 22 03:07:10 2009
New Revision: 20571

Log:
Do not write an extra byte in the iTunes 'hdlr' tag.  The files on iTMS have an 
extra byte and are not compliant with ISO 14496-12.  This causes some strict 
demuxers (notably the MPEG-4 ALS reference software) to fail.  It has been 
confirmed that not writing the extra byte will still allow the generated MP4 
files to work with QuickTime/iTunes/iPod.
Approved by Baptiste on IRC.

Modified:
   trunk/libavformat/movenc.c

Modified: trunk/libavformat/movenc.c
==============================================================================
--- trunk/libavformat/movenc.c	Sat Nov 21 21:56:46 2009	(r20570)
+++ trunk/libavformat/movenc.c	Sun Nov 22 03:07:10 2009	(r20571)
@@ -1275,7 +1275,7 @@ static int mov_write_itunes_hdlr_tag(Byt
     put_tag(pb, "appl");
     put_be32(pb, 0);
     put_be32(pb, 0);
-    put_be16(pb, 0);
+    put_byte(pb, 0);
     return updateSize(pb, pos);
 }
 



More information about the ffmpeg-cvslog mailing list