OSDN Git Service

movenc: Don't add base_data_offset in tfhd for PIFF files
authorJeremy Hinegardner <jeremy@copiousfreetime.org>
Sun, 24 Mar 2013 05:15:31 +0000 (23:15 -0600)
committerMartin Storsjö <martin@martin.st>
Thu, 16 May 2013 21:28:50 +0000 (00:28 +0300)
commit40bbbce7e8ada7eea9674efb45252c916724246f
tree9f49bfe5a4b3ebeba89a612266ee4e6f327bddc7
parent1fb013a57c6d98d3f425506eb25f32b2cf7ddc6f
movenc: Don't add base_data_offset in tfhd for PIFF files

According to the PIFF specification[1] the base_data_offset field MUST be
omitteed. See section 5.2.17. Since the ISMV files created by libavformat
state that they are 'piff' compatible via 'ftyp' box, this needs to be
corrected.

[1] http://www.iis.net/learn/media/smooth-streaming/protected-interoperable-file-format

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/movenc.c