Commit c43e7a66 authored by Michael Niedermayer's avatar Michael Niedermayer

untested win32 binary pipe fix

Originally committed as revision 2922 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 490c735d
......@@ -103,6 +103,9 @@ static int pipe_open(URLContext *h, const char *filename, int flags)
} else {
fd = 0;
}
#if defined(CONFIG_WIN32) || defined(CONFIG_OS2) || defined(__CYGWIN__)
setmode(fd, O_BINARY);
#endif
h->priv_data = (void *)fd;
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment