Commit d91944d3 authored by jbr's avatar jbr

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.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20571 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 27d51ee6
...@@ -1275,7 +1275,7 @@ static int mov_write_itunes_hdlr_tag(ByteIOContext *pb, MOVMuxContext *mov, ...@@ -1275,7 +1275,7 @@ static int mov_write_itunes_hdlr_tag(ByteIOContext *pb, MOVMuxContext *mov,
put_tag(pb, "appl"); put_tag(pb, "appl");
put_be32(pb, 0); put_be32(pb, 0);
put_be32(pb, 0); put_be32(pb, 0);
put_be16(pb, 0); put_byte(pb, 0);
return updateSize(pb, pos); return updateSize(pb, pos);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment