From 675ac56b7ee0f204963fde55295197c5df80aa91 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Tue, 25 Nov 2014 10:51:23 +0200 Subject: Revert "lavf: Don't try to update files atomically with renames on windows" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit b9d08c77a44390b0848c06f20bc0e9e951ba6a3c. After taking MoveFileEx into use, we can replace files with renames on windows as well. Signed-off-by: Martin Storsjö --- libavformat/internal.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libavformat/internal.h') diff --git a/libavformat/internal.h b/libavformat/internal.h index d69ce492fa..d10c5433d0 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -366,10 +366,4 @@ static inline int ff_rename(const char *oldpath, const char *newpath) return 0; } -#ifndef _WIN32 -#define USE_RENAME_REPLACE 1 -#else -#define USE_RENAME_REPLACE 0 -#endif - #endif /* AVFORMAT_INTERNAL_H */ -- cgit v1.2.3