OSDN Git Service

lavf: Don't try to update files atomically with renames on windows
authorMartin Storsjö <martin@martin.st>
Tue, 18 Nov 2014 12:06:19 +0000 (14:06 +0200)
committerMartin Storsjö <martin@martin.st>
Mon, 24 Nov 2014 21:34:44 +0000 (23:34 +0200)
commitb9d08c77a44390b0848c06f20bc0e9e951ba6a3c
tree3b888a8c125faa6e0aa695cf55fb96b1485331bf
parent40665d27e38e6a2f65037878202bd1a398c7683e
lavf: Don't try to update files atomically with renames on windows

On windows, rename(2) will fail if the target file exists. On
unix this trick is used to make sure that people reading the file
either will get the full previous file, or the full new version
of the file, but no intermediate version.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/dashenc.c
libavformat/hdsenc.c
libavformat/internal.h
libavformat/smoothstreamingenc.c