Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
9fb2aad3
Commit
9fb2aad3
authored
Dec 29, 2001
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use libdvdread's define instead.
parent
1ad1939f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
plugins/dvdread/input_dvdread.c
plugins/dvdread/input_dvdread.c
+3
-3
plugins/dvdread/input_dvdread.h
plugins/dvdread/input_dvdread.h
+1
-2
No files found.
plugins/dvdread/input_dvdread.c
View file @
9fb2aad3
...
...
@@ -6,7 +6,7 @@
* It depends on: libdvdread for ifo files and block reading.
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: input_dvdread.c,v 1.
9 2001/12/29 15:40:53
massiot Exp $
* $Id: input_dvdread.c,v 1.
10 2001/12/29 22:22:01
massiot Exp $
*
* Author: Stphane Borel <stef@via.ecp.fr>
*
...
...
@@ -117,7 +117,7 @@ DECLARE_BUFFERS_NEWPACKET_SHARED( FLAGS, NB_LIFO );
DECLARE_BUFFERS_DELETEPACKET_SHARED
(
FLAGS
,
NB_LIFO
,
1000
);
DECLARE_BUFFERS_NEWPES
(
FLAGS
,
NB_LIFO
);
DECLARE_BUFFERS_DELETEPES
(
FLAGS
,
NB_LIFO
,
1000
);
DECLARE_BUFFERS_TOIO
(
FLAGS
,
DVD_
LB_SIZE
);
DECLARE_BUFFERS_TOIO
(
FLAGS
,
DVD_
VIDEO_LB_LEN
);
DECLARE_BUFFERS_SHAREBUFFER
(
FLAGS
);
/*****************************************************************************
...
...
@@ -878,7 +878,7 @@ static int DvdReadRead( input_thread_t * p_input,
data_packet_t
*
p_current
=
p_data_p
;
i_pos
=
0
;
while
(
i_pos
<
DVD_
LB_SIZE
)
while
(
i_pos
<
DVD_
VIDEO_LB_LEN
)
{
pi_cur
=
(
u8
*
)
p_vec
[
i_iovec
].
iov_base
+
i_pos
;
...
...
plugins/dvdread/input_dvdread.h
View file @
9fb2aad3
...
...
@@ -2,7 +2,7 @@
* input_dvdread.h: thread structure of the DVD plugin
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: input_dvdread.h,v 1.
2 2001/12/26 00:01:18
massiot Exp $
* $Id: input_dvdread.h,v 1.
3 2001/12/29 22:22:01
massiot Exp $
*
* Author: Stphane Borel <stef@via.ecp.fr>
*
...
...
@@ -35,7 +35,6 @@
#include "videolan/dvdread.h"
/* Logical block size for DVD-VIDEO */
#define DVD_LB_SIZE 2048
#define LB2OFF(x) ((off_t)(x) * (off_t)(DVD_VIDEO_LB_LEN))
#define OFF2LB(x) ((x) >> 11)
...
...
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