diff options
author | Martin Storsjö <martin@martin.st> | 2014-10-29 22:51:29 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2014-10-30 23:16:50 +0200 |
commit | 00c67fe1d0bc7c2ce49daac9c80ea39d5a663b73 (patch) | |
tree | f8fa5ba2f0780d9faa85183b936b3f0010d576bc /libavcodec/arm/h264qpel_init_arm.c | |
parent | cf589faa5b7aed3bb38e08dcd00bd951e69686d1 (diff) | |
download | ffmpeg-00c67fe1d0bc7c2ce49daac9c80ea39d5a663b73.tar.gz |
movenc: Write a 0 duration in mdhd and tkhd for an empty initial moov
ISO/IEC 14496-12:2012/Cor 1:2013 is explicit about how this should be
handled. All zeros doesn't mean that the full file has got a zero
duration, only that the track samples described within the initial moov
have got zero duration. An all ones duration means an indeterminate
duration.
Keep writing a duration consisting of all ones for the ISM mode -
older windows media player versions won't play a file if this is
zero. (Newer windows media player versions play either version fine.)
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/arm/h264qpel_init_arm.c')
0 files changed, 0 insertions, 0 deletions