aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/file.c
diff options
context:
space:
mode:
authorWolfgang Hesseler <qv@multimediaware.com>2003-12-14 17:47:23 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-12-14 17:47:23 +0000
commitfad05f523c03dd0df5d7172cff641c668247034a (patch)
treec2a0d91a5eaa7e7a05fbff2b3f541446e742aba4 /libavformat/file.c
parenta4337a5130aa3d5f1844aba1ceaa6fed66497958 (diff)
downloadffmpeg-fad05f523c03dd0df5d7172cff641c668247034a.tar.gz
cygwin fix and dont average interlaced MVs patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
Originally committed as revision 2609 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/file.c')
-rw-r--r--libavformat/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/file.c b/libavformat/file.c
index a84823a378..ee1f72a00c 100644
--- a/libavformat/file.c
+++ b/libavformat/file.c
@@ -42,7 +42,7 @@ static int file_open(URLContext *h, const char *filename, int flags)
} else {
access = O_RDONLY;
}
-#if defined(CONFIG_WIN32) || defined(CONFIG_OS2)
+#if defined(CONFIG_WIN32) || defined(CONFIG_OS2) || defined(__CYGWIN__)
access |= O_BINARY;
#endif
fd = open(filename, access, 0666);