summaryrefslogtreecommitdiff
path: root/libavformat/movenc.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2009-11-22 02:07:10 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2009-11-22 02:07:10 +0000
commitaca857ecd37aaca7b48117f9d4b107dce143e3e6 (patch)
treed079216e67922966543320d7e9de573dfc4ff385 /libavformat/movenc.c
parent4e878a1898c05dca6a14cecc486673fdc775b94d (diff)
downloadffmpeg-aca857ecd37aaca7b48117f9d4b107dce143e3e6.tar.gz
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. Originally committed as revision 20571 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r--libavformat/movenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 5cd014d264..92a6f3016e 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -1275,7 +1275,7 @@ static int mov_write_itunes_hdlr_tag(ByteIOContext *pb, MOVMuxContext *mov,
put_tag(pb, "appl");
put_be32(pb, 0);
put_be32(pb, 0);
- put_be16(pb, 0);
+ put_byte(pb, 0);
return updateSize(pb, pos);
}