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
a793be38
Commit
a793be38
authored
Jan 28, 2003
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ALL: fixes for various compilation warnings and spelling errors.
parent
1f4c177f
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
45 additions
and
45 deletions
+45
-45
modules/access/satellite/access.c
modules/access/satellite/access.c
+3
-3
modules/codec/dv.c
modules/codec/dv.c
+2
-2
modules/codec/faad/decoder.c
modules/codec/faad/decoder.c
+2
-2
modules/demux/avi/libavi.c
modules/demux/avi/libavi.c
+5
-5
modules/demux/mp4/mp4.c
modules/demux/mp4/mp4.c
+22
-22
modules/video_output/encoder.c
modules/video_output/encoder.c
+2
-2
modules/video_output/x11/xcommon.c
modules/video_output/x11/xcommon.c
+2
-2
mozilla/vlcshell.cpp
mozilla/vlcshell.cpp
+2
-2
src/libvlc.h
src/libvlc.h
+5
-5
No files found.
modules/access/satellite/access.c
View file @
a793be38
...
...
@@ -305,7 +305,7 @@ void E_(Close) ( vlc_object_t *p_this )
{
input_thread_t
*
p_input
=
(
input_thread_t
*
)
p_this
;
input_socket_t
*
p_satellite
;
int
i_es_index
;
unsigned
int
i_es_index
;
if
(
p_input
->
stream
.
p_selected_program
)
{
...
...
@@ -336,7 +336,7 @@ static ssize_t SatelliteRead( input_thread_t * p_input, byte_t * p_buffer,
input_socket_t
*
p_access_data
=
(
input_socket_t
*
)
p_input
->
p_access_data
;
ssize_t
i_ret
;
int
i
;
unsigned
int
i
;
/* if not set, set filters to the PMTs */
for
(
i
=
0
;
i
<
p_input
->
stream
.
i_pgrm_number
;
i
++
)
...
...
@@ -381,7 +381,7 @@ static int SatelliteSetArea( input_thread_t * p_input, input_area_t * p_area )
int
SatelliteSetProgram
(
input_thread_t
*
p_input
,
pgrm_descriptor_t
*
p_new_prg
)
{
int
i_es_index
;
unsigned
int
i_es_index
;
if
(
p_input
->
stream
.
p_selected_program
)
{
...
...
modules/codec/dv.c
View file @
a793be38
...
...
@@ -2,7 +2,7 @@
* dv.c: a decoder for DV video
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: dv.c,v 1.
3 2002/11/28 17:34:59
sam Exp $
* $Id: dv.c,v 1.
4 2003/01/28 16:57:28
sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
...
...
@@ -75,7 +75,7 @@ static int RunDecoder ( decoder_fifo_t *p_fifo )
{
uint8_t
*
p_buffer
;
pes_packet_t
*
p_pes
=
NULL
;
int
i_data
=
120000
;
unsigned
int
i_data
=
120000
;
int
i_aspect
;
bit_stream_t
bit_stream
;
...
...
modules/codec/faad/decoder.c
View file @
a793be38
...
...
@@ -2,7 +2,7 @@
* decoder.c: AAC decoder using libfaad2
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: decoder.c,v 1.2
0 2003/01/25 18:09:30 fenrir
Exp $
* $Id: decoder.c,v 1.2
1 2003/01/28 16:57:28 sam
Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -261,7 +261,7 @@ static int InitThread( adec_thread_t * p_adec )
return
(
-
1
);
}
msg_Dbg
(
p_adec
->
p_fifo
,
"faad intitialized, samplerate:
%dHz channels:
%d"
,
"faad intitialized, samplerate:
%ldHz channels:
%d"
,
i_rate
,
i_nb_channels
);
...
...
modules/demux/avi/libavi.c
View file @
a793be38
...
...
@@ -2,7 +2,7 @@
* libavi.c :
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: libavi.c,v 1.1
5 2003/01/25 16:58:34 fenrir
Exp $
* $Id: libavi.c,v 1.1
6 2003/01/28 16:57:28 sam
Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -385,7 +385,7 @@ static int AVI_ChunkRead_list( input_thread_t *p_input,
if
(
AVI_ChunkRead
(
p_input
,
p_chk
,
p_container
,
b_seekable
)
||
(
AVI_TellAbsolute
(
p_input
)
>=
(
off_t
)
p_chk
->
common
.
p_father
->
common
.
i_chunk_pos
+
__EVEN
(
p_chk
->
common
.
p_father
->
common
.
i_chunk_size
)
)
)
(
off_t
)
__EVEN
(
p_chk
->
common
.
p_father
->
common
.
i_chunk_size
)
)
)
{
break
;
}
...
...
@@ -929,7 +929,7 @@ int AVI_ChunkReadRoot( input_thread_t *p_input,
if
(
AVI_ChunkRead
(
p_input
,
p_chk
,
p_root
,
b_seekable
)
||
(
AVI_TellAbsolute
(
p_input
)
>=
(
off_t
)
p_chk
->
common
.
p_father
->
common
.
i_chunk_pos
+
__EVEN
(
p_chk
->
common
.
p_father
->
common
.
i_chunk_size
)
)
)
(
off_t
)
__EVEN
(
p_chk
->
common
.
p_father
->
common
.
i_chunk_size
)
)
)
{
break
;
}
...
...
modules/demux/mp4/mp4.c
View file @
a793be38
...
...
@@ -2,7 +2,7 @@
* mp4.c : MP4 file input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: mp4.c,v 1.1
5 2003/01/25 17:57:36 fenrir
Exp $
* $Id: mp4.c,v 1.1
6 2003/01/28 16:57:28 sam
Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -165,13 +165,13 @@ static int MP4Init( vlc_object_t * p_this )
switch
(
p_ftyp
->
data
.
p_ftyp
->
i_major_brand
)
{
case
(
FOURCC_isom
):
msg_
Info
(
p_input
,
msg_
Dbg
(
p_input
,
"ISO Media file (isom) version %d."
,
p_ftyp
->
data
.
p_ftyp
->
i_minor_version
);
break
;
default:
msg_
Info
(
p_input
,
"Unrecognize
major file specification (%c%c%c%c)."
,
msg_
Dbg
(
p_input
,
"unrecognized
major file specification (%c%c%c%c)."
,
p_ftyp
->
data
.
p_ftyp
->
i_major_brand
&
0xff
,
(
p_ftyp
->
data
.
p_ftyp
->
i_major_brand
>>
8
)
&
0xff
,
(
p_ftyp
->
data
.
p_ftyp
->
i_major_brand
>>
16
)
&
0xff
,
...
...
@@ -181,14 +181,14 @@ static int MP4Init( vlc_object_t * p_this )
}
else
{
msg_
Info
(
p_input
,
"File Type box missing(assume
ISO Media file)"
);
msg_
Dbg
(
p_input
,
"file type box missing (assuming
ISO Media file)"
);
}
/* the file need to have one moov box */
if
(
MP4_BoxCount
(
&
p_demux
->
box_root
,
"/moov"
)
!=
1
)
{
msg_Err
(
p_input
,
"MP4 plugin discarded (%d moov box)"
,
"MP4 plugin discarded (%d moov box
es
)"
,
MP4_BoxCount
(
&
p_demux
->
box_root
,
"/moov"
)
);
// MP4End( p_input );
// return( -1 );
...
...
@@ -196,7 +196,7 @@ static int MP4Init( vlc_object_t * p_this )
if
(
!
(
p_mvhd
=
MP4_BoxGet
(
&
p_demux
->
box_root
,
"/moov/mvhd"
)
)
)
{
msg_Err
(
p_input
,
"cannot find /moov/mvhd
!
"
);
msg_Err
(
p_input
,
"cannot find /moov/mvhd"
);
MP4End
(
p_input
);
return
(
-
1
);
}
...
...
@@ -209,7 +209,7 @@ static int MP4Init( vlc_object_t * p_this )
if
(
!
(
p_demux
->
i_tracks
=
MP4_BoxCount
(
&
p_demux
->
box_root
,
"/moov/trak"
)
)
)
{
msg_Err
(
p_input
,
"cannot find any /moov/trak
!
"
);
msg_Err
(
p_input
,
"cannot find any /moov/trak"
);
MP4End
(
p_input
);
return
(
-
1
);
}
...
...
@@ -427,7 +427,7 @@ static void __MP4End ( vlc_object_t * p_this )
input_thread_t
*
p_input
=
(
input_thread_t
*
)
p_this
;
demux_sys_t
*
p_demux
=
p_input
->
p_demux_data
;
msg_Dbg
(
p_input
,
"
F
reeing all memory"
);
msg_Dbg
(
p_input
,
"
f
reeing all memory"
);
MP4_BoxFree
(
p_input
,
&
p_demux
->
box_root
);
for
(
i_track
=
0
;
i_track
<
p_demux
->
i_tracks
;
i_track
++
)
{
...
...
@@ -553,7 +553,7 @@ static int MP4_TrackSynchro( input_thread_t *p_input, track_data_mp4_t *p_track
else
{
msg_Dbg
(
p_input
,
"track[Id 0x%x] does
n't provided
Sync Sample Box (stss)"
,
"track[Id 0x%x] does
not provide
Sync Sample Box (stss)"
,
p_track
->
i_track_ID
);
}
...
...
@@ -612,12 +612,12 @@ static void MP4_ParseTrack( input_thread_t *p_input,
if
(
(
p_elst
=
MP4_BoxGet
(
p_trak
,
"edts/elst"
)
)
)
{
/* msg_Warn( p_input, "
U
nhandled box: edts --> FIXME" ); */
/* msg_Warn( p_input, "
u
nhandled box: edts --> FIXME" ); */
}
if
(
p_tref
)
{
/* msg_Warn( p_input, "
U
nhandled box: tref --> FIXME" ); */
/* msg_Warn( p_input, "
u
nhandled box: tref --> FIXME" ); */
}
p_mdhd
=
MP4_BoxGet
(
p_trak
,
"mdia/mdhd"
);
...
...
@@ -709,7 +709,7 @@ static int MP4_CreateChunksIndex( input_thread_t *p_input,
p_demux_track
->
i_chunk_count
=
p_co64
->
data
.
p_co64
->
i_entry_count
;
if
(
!
p_demux_track
->
i_chunk_count
)
{
msg_Warn
(
p_input
,
"
N
o chunk defined"
);
msg_Warn
(
p_input
,
"
n
o chunk defined"
);
return
(
0
);
}
p_demux_track
->
chunk
=
calloc
(
p_demux_track
->
i_chunk_count
,
...
...
@@ -923,7 +923,7 @@ static void MP4_StartDecoder( input_thread_t *p_input,
return
;
}
msg_Dbg
(
p_input
,
"
S
tarting decoder for track[Id 0x%x]"
,
msg_Dbg
(
p_input
,
"
s
tarting decoder for track[Id 0x%x]"
,
p_demux_track
->
i_track_ID
);
/* launch decoder according in chunk we are */
...
...
@@ -1027,7 +1027,7 @@ static void MP4_StartDecoder( input_thread_t *p_input,
default:
/* Unknown entry, but don't touch i_fourcc */
msg_Warn
(
p_input
,
"
objectTypeIndication(0x%x) unknow
(Track[ID 0x%x])"
,
"
unknown objectTypeIndication(0x%x)
(Track[ID 0x%x])"
,
p_decconfig
->
i_objectTypeIndication
,
p_demux_track
->
i_track_ID
);
break
;
...
...
@@ -1180,7 +1180,7 @@ static void MP4_StartDecoder( input_thread_t *p_input,
static
void
MP4_StopDecoder
(
input_thread_t
*
p_input
,
track_data_mp4_t
*
p_demux_track
)
{
msg_Dbg
(
p_input
,
"
S
topping decoder (track[Id 0x%x])"
,
msg_Dbg
(
p_input
,
"
s
topping decoder (track[Id 0x%x])"
,
p_demux_track
->
i_track_ID
);
input_UnselectES
(
p_input
,
p_demux_track
->
p_es
);
...
...
modules/video_output/encoder.c
View file @
a793be38
...
...
@@ -2,7 +2,7 @@
* encoder.c : encoder wrapper plugin for vlc
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: encoder.c,v 1.
1 2003/01/22 10:41:57 fenrir
Exp $
* $Id: encoder.c,v 1.
2 2003/01/28 16:57:28 sam
Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -170,7 +170,7 @@ static int Init( vout_thread_t *p_vout )
/* *** set wanted input format *** */
p_encoder
->
i_codec
=
p_vout
->
p_sys
->
i_codec
;
/* *** set prefered properties *** */
/* *** set prefer
r
ed properties *** */
/* encoder can modify all these values except i_codec */
p_encoder
->
i_chroma
=
p_vout
->
render
.
i_chroma
;
p_encoder
->
i_width
=
p_vout
->
render
.
i_width
;
...
...
modules/video_output/x11/xcommon.c
View file @
a793be38
...
...
@@ -2,7 +2,7 @@
* xcommon.c: Functions common to the X11 and XVideo plugins
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
* $Id: xcommon.c,v 1.1
1 2003/01/28 13:03:13 gbazin
Exp $
* $Id: xcommon.c,v 1.1
2 2003/01/28 16:57:28 sam
Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -730,7 +730,7 @@ static int ManageVideo( vout_thread_t *p_vout )
ClientMessage
,
&
xevent
)
)
{
if
(
(
xevent
.
xclient
.
message_type
==
p_vout
->
p_sys
->
p_win
->
wm_protocols
)
&&
(
xevent
.
xclient
.
data
.
l
[
0
]
&&
(
(
Atom
)
xevent
.
xclient
.
data
.
l
[
0
]
==
p_vout
->
p_sys
->
p_win
->
wm_delete_window
)
)
{
p_vout
->
p_vlc
->
b_die
=
1
;
...
...
mozilla/vlcshell.cpp
View file @
a793be38
...
...
@@ -2,7 +2,7 @@
* vlcshell.c: a VideoLAN Client plugin for Mozilla
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: vlcshell.cpp,v 1.
7 2002/11/28 23:53:03 sigmunau
Exp $
* $Id: vlcshell.cpp,v 1.
8 2003/01/28 16:57:28 sam
Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
...
...
@@ -546,7 +546,7 @@ void NPP_StreamAsFile( NPP instance, NPStream *stream, const char* fname )
fprintf
(
stderr
,
"NPP_StreamAsFile %s
\n
"
,
fname
);
#if USE_LIBVLC
VlcPlugin
*
p_plugin
=
(
VlcPlugin
*
)
instance
->
pdata
;
/* VlcPlugin* p_plugin = (VlcPlugin*)instance->pdata; */
/* VLC_AddTarget( p_plugin->i_vlc, fname,
PLAYLIST_APPEND | PLAYLIST_GO, PLAYLIST_END );*/
...
...
src/libvlc.h
View file @
a793be38
...
...
@@ -2,7 +2,7 @@
* libvlc.h: main libvlc header
*****************************************************************************
* Copyright (C) 1998-2002 VideoLAN
* $Id: libvlc.h,v 1.3
8 2003/01/28 02:03:33
sam Exp $
* $Id: libvlc.h,v 1.3
9 2003/01/28 16:57:28
sam Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -262,7 +262,7 @@ static char *ppsz_sout_vcodec[] = { "", "mpeg1", "mpeg2", "mpeg4", NULL };
"If you check this box, IPv4 will be used by default for all UDP and " \
"HTTP connections.")
#define CODEC_TEXT N_("choose prefered codec list")
#define CODEC_TEXT N_("choose prefer
r
ed codec list")
#define CODEC_LONGTEXT N_( \
"This allows you to select the order in which vlc will choose its " \
"codecs. For instance, 'a52old,a52,any' will try the old a52 codec " \
...
...
@@ -271,11 +271,11 @@ static char *ppsz_sout_vcodec[] = { "", "mpeg1", "mpeg2", "mpeg4", NULL };
"'any' at the end of the list to make sure there is a fallback for the " \
"types you didn't specify.")
#define ENCODER_VIDEO_TEXT N_("choose prefered video encoder list")
#define ENCODER_VIDEO_TEXT N_("choose prefer
r
ed video encoder list")
#define ENCODER_VIDEO_LONGTEXT N_( \
"This allows you to select the order in which vlc will choose its " \
"codecs. " )
#define ENCODER_AUDIO_TEXT N_("choose prefered audio encoder list")
#define ENCODER_AUDIO_TEXT N_("choose prefer
r
ed audio encoder list")
#define ENCODER_AUDIO_LONGTEXT N_( \
"This allows you to select the order in which vlc will choose its " \
"codecs. " )
...
...
@@ -302,7 +302,7 @@ static char *ppsz_sout_vcodec[] = { "", "mpeg1", "mpeg2", "mpeg4", NULL };
#define SOUT_ACODEC_LONGTEXT N_( \
"This allows you to force audio encoding")
#define PACKETIZER_TEXT N_("choose prefered packetizer list")
#define PACKETIZER_TEXT N_("choose prefer
r
ed packetizer list")
#define PACKETIZER_LONGTEXT N_( \
"This allows you to select the order in which vlc will choose its " \
"packetizers." )
...
...
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