movenc: Don't store a nonzero creation time if nothing was set by the caller
authorMartin Storsjö <martin@martin.st>
Mon, 9 Jan 2012 16:35:01 +0000 (18:35 +0200)
committerMartin Storsjö <martin@martin.st>
Tue, 10 Jan 2012 14:02:07 +0000 (16:02 +0200)
commita78dbada55d6b467dd560e0780f6bc50f72ba21a
tree40b501513331236f9df3949b70fbbf6d15a5a31f
parent353a2d2164c09740e42f33014c4773b93e96a0d2
movenc: Don't store a nonzero creation time if nothing was set by the caller

If the creation time is stored in the file as a zero, the
mov demuxer skips exporting the creation time. Currently,
files muxed without a creation time get demuxed with a
Jan 1st 1970 creation timestamp.

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