aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dsicinvideo.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2014-10-29 22:51:29 +0200
committerMartin Storsjö <martin@martin.st>2014-10-30 23:16:50 +0200
commit00c67fe1d0bc7c2ce49daac9c80ea39d5a663b73 (patch)
treef8fa5ba2f0780d9faa85183b936b3f0010d576bc /libavcodec/dsicinvideo.c
parentcf589faa5b7aed3bb38e08dcd00bd951e69686d1 (diff)
downloadffmpeg-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/dsicinvideo.c')
0 files changed, 0 insertions, 0 deletions