summaryrefslogtreecommitdiffstats
path: root/libhb/stream.c
diff options
context:
space:
mode:
authorkonablend <[email protected]>2009-06-06 23:04:51 +0000
committerkonablend <[email protected]>2009-06-06 23:04:51 +0000
commit29a5aad80b27a47bec2dcb69bd97f06d38c64602 (patch)
tree371b3adde17bcfa96d78b8f62d78fb1f0245b79d /libhb/stream.c
parent87313a3e48bf2349cbb5be3e89db9b203aae812f (diff)
- mingw fixes to use fopen() with 'b' flag.
- include pthread.h for pthread_win32 attach/detach decls. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2495 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/stream.c')
-rw-r--r--libhb/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/stream.c b/libhb/stream.c
index c98f901db..92907e1ef 100644
--- a/libhb/stream.c
+++ b/libhb/stream.c
@@ -470,7 +470,7 @@ static int audio_inactive( hb_stream_t *stream, int indx )
**********************************************************************/
hb_stream_t * hb_stream_open( char *path, hb_title_t *title )
{
- FILE *f = fopen( path, "r" );
+ FILE *f = fopen( path, "rb" );
if ( f == NULL )
{
hb_log( "hb_stream_open: open %s failed", path );