summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2010-01-31 00:57:46 +0000
committerjstebbins <[email protected]>2010-01-31 00:57:46 +0000
commitcc9508040bff9c2277be1255c4d91ea19f13e665 (patch)
tree96fbdc4553ea1d480ba4947441d80f7c44366574 /libhb
parent0581eb1fc14c8f1c3e5b74865ae3b7d0734e062e (diff)
osx doesn't have fread_unlocked
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3090 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/stream.c b/libhb/stream.c
index 09334a48b..b3479716c 100644
--- a/libhb/stream.c
+++ b/libhb/stream.c
@@ -1220,7 +1220,7 @@ int hb_stream_read( hb_stream_t * src_stream, hb_buffer_t * b )
}
*cp++ = len >> 8;
*cp++ = len & 0xff;
- fread_unlocked( cp, 1, len, src_stream->file_handle );
+ fread( cp, 1, len, src_stream->file_handle );
cp += len;
}
}