changeset 5375:222bbba5fd35 libavformat

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.
author jbr
date Sun, 22 Nov 2009 02:07:10 +0000
parents 93b37c36810a
children f31fa4114750
files movenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/movenc.c	Fri Nov 20 23:12:55 2009 +0000
+++ b/movenc.c	Sun Nov 22 02:07:10 2009 +0000
@@ -1275,7 +1275,7 @@
     put_tag(pb, "appl");
     put_be32(pb, 0);
     put_be32(pb, 0);
-    put_be16(pb, 0);
+    put_byte(pb, 0);
     return updateSize(pb, pos);
 }