projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a86d50
)
nut files in cygwin patch by ("Sascha Sommer" <saschasommer at freenet dot de>)
author
Sascha Sommer
<saschasommer@freenet.de>
Sat, 24 Apr 2004 13:10:35 +0000
(13:10 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 24 Apr 2004 13:10:35 +0000
(13:10 +0000)
Originally committed as revision 3054 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/file.c
patch
|
blob
|
history
diff --git
a/libavformat/file.c
b/libavformat/file.c
index
00837c8
..
f7329e7
100644
(file)
--- a/
libavformat/file.c
+++ b/
libavformat/file.c
@@
-70,7
+70,7
@@
static int file_write(URLContext *h, unsigned char *buf, int size)
static offset_t file_seek(URLContext *h, offset_t pos, int whence)
{
int fd = (size_t)h->priv_data;
-#if
def CONFIG_WIN32
+#if
defined(CONFIG_WIN32) && !defined(__CYGWIN__)
return _lseeki64(fd, pos, whence);
#else
return lseek(fd, pos, whence);