From 29a5aad80b27a47bec2dcb69bd97f06d38c64602 Mon Sep 17 00:00:00 2001 From: konablend Date: Sat, 6 Jun 2009 23:04:51 +0000 Subject: - 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 --- libhb/hb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libhb/hb.c') 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" ); -- cgit v1.2.3