Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
37888f79
Commit
37888f79
authored
Jan 30, 2001
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fix for assholes who don't have a dvd players. :pppp
parent
9e28c5d7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/input/input_dvd.c
src/input/input_dvd.c
+3
-1
No files found.
src/input/input_dvd.c
View file @
37888f79
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* input_dvd.c: DVD reading
* input_dvd.c: DVD reading
*****************************************************************************
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
* Copyright (C) 1998-2001 VideoLAN
* $Id: input_dvd.c,v 1.
9 2001/01/30 05:48:23 sam
Exp $
* $Id: input_dvd.c,v 1.
10 2001/01/30 19:19:02 massiot
Exp $
*
*
* Author: Stphane Borel <stef@via.ecp.fr>
* Author: Stphane Borel <stef@via.ecp.fr>
*
*
...
@@ -338,7 +338,9 @@ static __inline__ int SafeRead( input_thread_t * p_input, byte_t * p_buffer,
...
@@ -338,7 +338,9 @@ static __inline__ int SafeRead( input_thread_t * p_input, byte_t * p_buffer,
{
{
lseek64
(
p_input
->
i_handle
,
i_pos
&
~
0x7FF
,
SEEK_SET
);
lseek64
(
p_input
->
i_handle
,
i_pos
&
~
0x7FF
,
SEEK_SET
);
i_nb
=
read
(
p_input
->
i_handle
,
p_tmp
,
0x800
);
i_nb
=
read
(
p_input
->
i_handle
,
p_tmp
,
0x800
);
#if defined( HAVE_SYS_DVDIO_H ) || defined( LINUX_DVD )
CSSDescrambleSector
(
p_method
->
css
.
p_title_key
[
0
].
key
,
p_tmp
);
CSSDescrambleSector
(
p_method
->
css
.
p_title_key
[
0
].
key
,
p_tmp
);
#endif
memcpy
(
p_buffer
,
p_tmp
+
(
i_pos
&
0x7FF
),
i_len
);
memcpy
(
p_buffer
,
p_tmp
+
(
i_pos
&
0x7FF
),
i_len
);
}
}
switch
(
i_nb
)
switch
(
i_nb
)
...
...
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