Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
libbluray
Commits
3af8ccfd
Commit
3af8ccfd
authored
Oct 19, 2009
by
cRTrn13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No commit message
No commit message
parent
d9d3020a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
src/bluray.c
src/bluray.c
+1
-1
src/file/file.h
src/file/file.h
+1
-0
No files found.
src/bluray.c
View file @
3af8ccfd
...
...
@@ -56,7 +56,7 @@ off_t bd_seek(BLURAY *bd, uint64_t pos)
if
(
pos
<
bd
->
s_size
)
{
bd
->
s_pos
=
pos
-
(
pos
%
6144
);
file_seek
o
(
bd
->
fp
,
bd
->
s_pos
,
SEEK_SET
);
file_seek
(
bd
->
fp
,
bd
->
s_pos
,
SEEK_SET
);
}
return
bd
->
s_pos
;
...
...
src/file/file.h
View file @
3af8ccfd
...
...
@@ -7,6 +7,7 @@
//#ifdef __LINUX__
#define file_open file_open_linux
#define _FILE_OFFSET_BITS 64
//#endif
#define file_close(X) X->close(X)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment