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
93e8fcf8
Commit
93e8fcf8
authored
Dec 31, 2001
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Miscellaneous typos.
parent
36e88eb4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
9 deletions
+7
-9
include/config.h.in
include/config.h.in
+1
-1
plugins/dvd/input_dvd.c
plugins/dvd/input_dvd.c
+2
-2
plugins/dvdread/input_dvdread.c
plugins/dvdread/input_dvdread.c
+4
-6
No files found.
include/config.h.in
View file @
93e8fcf8
...
@@ -167,7 +167,7 @@
...
@@ -167,7 +167,7 @@
#define INPUT_MAX_SOURCE_LENGTH 100
#define INPUT_MAX_SOURCE_LENGTH 100
/* Maximum memory the input is allowed to use (20 MB) */
/* Maximum memory the input is allowed to use (20 MB) */
#define INPUT_MAX_ALLOCATION
20971520
#define INPUT_MAX_ALLOCATION
20971520
/* Default network protocol */
/* Default network protocol */
#define INPUT_NETWORK_PROTOCOL_VAR "vlc_network_protocol"
#define INPUT_NETWORK_PROTOCOL_VAR "vlc_network_protocol"
...
...
plugins/dvd/input_dvd.c
View file @
93e8fcf8
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
* -dvd_udf to find files
* -dvd_udf to find files
*****************************************************************************
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
* Copyright (C) 1998-2001 VideoLAN
* $Id: input_dvd.c,v 1.11
6 2001/12/30 07:09:55 sam
Exp $
* $Id: input_dvd.c,v 1.11
7 2001/12/31 01:13:12 massiot
Exp $
*
*
* Author: Stphane Borel <stef@via.ecp.fr>
* Author: Stphane Borel <stef@via.ecp.fr>
*
*
...
@@ -810,7 +810,7 @@ static int DVDSetArea( input_thread_t * p_input, input_area_t * p_area )
...
@@ -810,7 +810,7 @@ static int DVDSetArea( input_thread_t * p_input, input_area_t * p_area )
/*****************************************************************************
/*****************************************************************************
* DVDRead: reads data packets
into the netlist
.
* DVDRead: reads data packets.
*****************************************************************************
*****************************************************************************
* Returns -1 in case of error, 0 in case of EOF, otherwise the number of
* Returns -1 in case of error, 0 in case of EOF, otherwise the number of
* packets.
* packets.
...
...
plugins/dvdread/input_dvdread.c
View file @
93e8fcf8
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* It depends on: libdvdread for ifo files and block reading.
* It depends on: libdvdread for ifo files and block reading.
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* Copyright (C) 2001 VideoLAN
* $Id: input_dvdread.c,v 1.1
3 2001/12/30 22:10:26 stef
Exp $
* $Id: input_dvdread.c,v 1.1
4 2001/12/31 01:13:12 massiot
Exp $
*
*
* Author: Stphane Borel <stef@via.ecp.fr>
* Author: Stphane Borel <stef@via.ecp.fr>
*
*
...
@@ -73,7 +73,6 @@
...
@@ -73,7 +73,6 @@
/* how many blocks DVDRead will read in each loop */
/* how many blocks DVDRead will read in each loop */
#define DVD_BLOCK_READ_ONCE 64
#define DVD_BLOCK_READ_ONCE 64
#define DVD_DATA_READ_ONCE (4 * DVD_BLOCK_READ_ONCE)
/*****************************************************************************
/*****************************************************************************
* Local prototypes
* Local prototypes
...
@@ -194,8 +193,7 @@ static void DvdReadInit( input_thread_t * p_input )
...
@@ -194,8 +193,7 @@ static void DvdReadInit( input_thread_t * p_input )
return
;
return
;
}
}
/* We read DVD_BLOCK_READ_ONCE in each loop, so the input will receive
/* We read DVD_BLOCK_READ_ONCE in each loop */
* DVD_DATA_READ_ONCE at most */
p_dvd
->
i_block_once
=
DVD_BLOCK_READ_ONCE
;
p_dvd
->
i_block_once
=
DVD_BLOCK_READ_ONCE
;
/* Ifo allocation & initialisation */
/* Ifo allocation & initialisation */
...
@@ -781,7 +779,7 @@ static int DvdReadRead( input_thread_t * p_input,
...
@@ -781,7 +779,7 @@ static int DvdReadRead( input_thread_t * p_input,
{
{
thread_dvd_data_t
*
p_dvd
;
thread_dvd_data_t
*
p_dvd
;
u8
p_data
[
DVD_VIDEO_LB_LEN
];
u8
p_data
[
DVD_VIDEO_LB_LEN
];
struct
iovec
p_vec
[
DVD_DATA_
READ
_ONCE
];
struct
iovec
p_vec
[
DVD_DATA_
BLOCK
_ONCE
];
u8
*
pi_cur
;
u8
*
pi_cur
;
int
i_blocks
;
int
i_blocks
;
int
i_read
;
int
i_read
;
...
@@ -856,7 +854,7 @@ static int DvdReadRead( input_thread_t * p_input,
...
@@ -856,7 +854,7 @@ static int DvdReadRead( input_thread_t * p_input,
/* Get iovecs */
/* Get iovecs */
*
pp_data
=
p_data_p
=
input_BuffersToIO
(
p_input
->
p_method_data
,
p_vec
,
*
pp_data
=
p_data_p
=
input_BuffersToIO
(
p_input
->
p_method_data
,
p_vec
,
DVD_
DATA
_READ_ONCE
);
DVD_
BLOCK
_READ_ONCE
);
if
(
p_data_p
==
NULL
)
if
(
p_data_p
==
NULL
)
{
{
...
...
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