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
8d158ef4
Commit
8d158ef4
authored
Jan 17, 2000
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Virationnement de quelques warnings.
parent
18a8363d
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
14 deletions
+17
-14
include/config.h
include/config.h
+2
-2
include/input.h
include/input.h
+5
-5
include/vlc.h.new
include/vlc.h.new
+1
-0
src/input/input.c.new
src/input/input.c.new
+6
-6
src/video_decoder/video_decoder.c
src/video_decoder/video_decoder.c
+3
-1
No files found.
include/config.h
View file @
8d158ef4
...
...
@@ -42,8 +42,8 @@
#define PROGRAM_OPTIONS VIDEO_OPTIONS " " ARCH_OPTIONS
/* Program version and copyright message */
#define PROGRAM_VERSION "
DR 2.1
"
#define COPYRIGHT_MESSAGE "VideoLAN Client v" PROGRAM_VERSION " (" __DATE__ ") - " PROGRAM_OPTIONS " - (c)1999 VideoLAN\n"
#define PROGRAM_VERSION "
1.0-dev
"
#define COPYRIGHT_MESSAGE "VideoLAN Client v" PROGRAM_VERSION " (" __DATE__ ") - " PROGRAM_OPTIONS " - (c)1999
-2000
VideoLAN\n"
/*******************************************************************************
* General compilation options
...
...
include/input.h
View file @
8d158ef4
...
...
@@ -303,12 +303,12 @@ typedef struct
******************************************************************************/
/* function pointers */
struct
input_thread_s
truct
;
struct
input_cfg_s
truct
;
typedef
int
(
*
f_open_t
)(
struct
input_thread_s
truct
*
,
struct
input_cfg_struct
*
);
typedef
int
(
*
f_read_t
)(
struct
input_thread_s
truct
*
,
const
struct
iovec
*
,
struct
input_thread_s
;
struct
input_cfg_s
;
typedef
int
(
*
f_open_t
)(
struct
input_thread_s
*
,
struct
input_cfg_s
*
);
typedef
int
(
*
f_read_t
)(
struct
input_thread_s
*
,
const
struct
iovec
*
,
size_t
);
typedef
void
(
*
f_clean_t
)(
struct
input_thread_s
truct
*
);
typedef
void
(
*
f_clean_t
)(
struct
input_thread_s
*
);
typedef
struct
input_thread_s
{
...
...
include/vlc.h.new
View file @
8d158ef4
...
...
@@ -60,6 +60,7 @@
#include "decoder_fifo.h"
#include "input_file.h"
#include "input_network.h"
#include "input_ctrl.h"
/* Audio */
#include "audio_output.h"
...
...
src/input/input.c.new
View file @
8d158ef4
...
...
@@ -112,9 +112,9 @@ input_thread_t *input_CreateThread( input_cfg_t *p_cfg )
{
/* File methods */
case INPUT_METHOD_TS_FILE:
p_input->p_open =
&
input_FileCreateMethod;
p_input->p_read =
&
input_FileRead;
p_input->p_clean =
&
input_FileDestroyMethod;
p_input->p_open = input_FileCreateMethod;
p_input->p_read = input_FileRead;
p_input->p_clean = input_FileDestroyMethod;
break;
/* Network methods */
...
...
@@ -122,9 +122,9 @@ input_thread_t *input_CreateThread( input_cfg_t *p_cfg )
case INPUT_METHOD_TS_MCAST:
case INPUT_METHOD_TS_BCAST:
case INPUT_METHOD_TS_VLAN_BCAST:
p_input->p_open =
&
input_NetworkCreateMethod;
p_input->p_read =
&
input_NetworkRead;
p_input->p_clean =
&
input_NetworkDestroyMethod;
p_input->p_open = input_NetworkCreateMethod;
p_input->p_read = input_NetworkRead;
p_input->p_clean = input_NetworkDestroyMethod;
break;
case INPUT_METHOD_NONE:
...
...
src/video_decoder/video_decoder.c
View file @
8d158ef4
...
...
@@ -325,7 +325,7 @@ void vdec_AddBlock( elem_t * p_block, yuv_data_t * p_data, int i_incr )
*******************************************************************************/
void
vdec_CopyBlock
(
elem_t
*
p_block
,
yuv_data_t
*
p_data
,
int
i_incr
)
{
int
i_
x
,
i_
y
;
int
i_y
;
for
(
i_y
=
0
;
i_y
<
8
;
i_y
++
)
{
...
...
@@ -335,6 +335,8 @@ void vdec_CopyBlock( elem_t * p_block, yuv_data_t * p_data, int i_incr )
p_data
+=
i_incr
+
8
;
p_block
+=
8
;
#else
int
i_x
;
for
(
i_x
=
0
;
i_x
<
8
;
i_x
++
)
{
/* ??? Need clip to be MPEG-2 compliant */
...
...
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