summaryrefslogtreecommitdiffstats
path: root/libhb/hb.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/hb.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/hb.c')
-rw-r--r--libhb/hb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/hb.c b/libhb/hb.c
index 7d140bdfb..26826ecdd 100644
--- a/libhb/hb.c
+++ b/libhb/hb.c
@@ -443,7 +443,7 @@ void hb_get_preview( hb_handle_t * h, hb_title_t * title, int picture,
hb_get_tempory_filename( h, filename, "%" PRIxPTR "%d",
(intptr_t) title, picture );
- file = fopen( filename, "r" );
+ file = fopen( filename, "rb" );
if( !file )
{
hb_log( "hb_get_preview: fopen failed" );