# HG changeset patch
# User jbr
# Date 1258855630 0
# Node ID 222bbba5fd35d52e3df5592e403cb4c1743382fc
# Parent  93b37c36810a1d696f9ed22ecbf04b4ffc2ef14a
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.

diff -r 93b37c36810a -r 222bbba5fd35 movenc.c
--- 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);
 }