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
release/0.6
Justin Ruggles 15 years ago
parent 4e878a1898
commit aca857ecd3
  1. 2
      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);
}

Loading…
Cancel
Save