summaryrefslogtreecommitdiffstats
path: root/libhb/scan.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/scan.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/scan.c')
-rw-r--r--libhb/scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/scan.c b/libhb/scan.c
index 6ff83a872..1d62297f4 100644
--- a/libhb/scan.c
+++ b/libhb/scan.c
@@ -600,7 +600,7 @@ static int DecodePreviews( hb_scan_t * data, hb_title_t * title )
hb_get_tempory_filename( data->h, filename, "%" PRIxPTR "%d",
(intptr_t)title, i );
- file_preview = fopen( filename, "w" );
+ file_preview = fopen( filename, "wb" );
if( file_preview )
{
fwrite( vid_buf->data, title->width * title->height * 3 / 2,