Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
d2dff446
Commit
d2dff446
authored
Dec 14, 2006
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* More compiler warning fixes (const mostly)
parent
fe12c564
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
19 additions
and
18 deletions
+19
-18
modules/access_filter/record.c
modules/access_filter/record.c
+2
-2
modules/audio_filter/channel_mixer/mono.c
modules/audio_filter/channel_mixer/mono.c
+2
-2
modules/audio_filter/equalizer_presets.h
modules/audio_filter/equalizer_presets.h
+3
-3
modules/codec/cmml/browser_open.c
modules/codec/cmml/browser_open.c
+1
-0
modules/codec/cmml/history.c
modules/codec/cmml/history.c
+1
-1
modules/codec/cmml/history.h
modules/codec/cmml/history.h
+1
-1
modules/codec/sdl_image.c
modules/codec/sdl_image.c
+1
-1
modules/codec/x264.c
modules/codec/x264.c
+8
-8
No files found.
modules/access_filter/record.c
View file @
d2dff446
...
...
@@ -320,9 +320,9 @@ static void Notify( access_t *p_access, vlc_bool_t b_dump )
if
(
p_sys
->
i_vout_chan
!=
-
1
)
{
if
(
b_dump
)
vout_OSDMessage
(
p_vout
,
p_sys
->
i_vout_chan
,
"Recording"
);
vout_OSDMessage
(
p_vout
,
p_sys
->
i_vout_chan
,
_
(
"Recording"
)
);
else
vout_OSDMessage
(
p_vout
,
p_sys
->
i_vout_chan
,
"Recording done"
);
vout_OSDMessage
(
p_vout
,
p_sys
->
i_vout_chan
,
_
(
"Recording done"
)
);
}
vlc_object_release
(
p_vout
);
}
...
...
modules/audio_filter/channel_mixer/mono.c
View file @
d2dff446
...
...
@@ -94,8 +94,8 @@ struct filter_sys_t
"except the selected channel. Choose one from (0=left, 1=right " \
"2=rear left, 3=rear right, 4=center, 5=left front)")
static
int
pi_pos_values
[]
=
{
0
,
1
,
2
,
4
,
8
,
5
};
static
char
*
ppsz_pos_descriptions
[]
=
static
const
int
pi_pos_values
[]
=
{
0
,
1
,
2
,
4
,
8
,
5
};
static
c
onst
c
har
*
ppsz_pos_descriptions
[]
=
{
N_
(
"Left"
),
N_
(
"Right"
),
N_
(
"Left rear"
),
N_
(
"Right rear"
),
N_
(
"Center"
),
N_
(
"Left front"
)
};
...
...
modules/audio_filter/equalizer_presets.h
View file @
d2dff446
...
...
@@ -31,12 +31,12 @@
#define EQZ_BANDS_MAX 10
#define NB_PRESETS 18
static
char
*
preset_list
[]
=
{
static
c
onst
c
har
*
preset_list
[]
=
{
"flat"
,
"classical"
,
"club"
,
"dance"
,
"fullbass"
,
"fullbasstreble"
,
"fulltreble"
,
"headphones"
,
"largehall"
,
"live"
,
"party"
,
"pop"
,
"reggae"
,
"rock"
,
"ska"
,
"soft"
,
"softrock"
,
"techno"
};
static
char
*
preset_list_text
[]
=
{
static
c
onst
c
har
*
preset_list_text
[]
=
{
N_
(
"Flat"
),
N_
(
"Classical"
),
N_
(
"Club"
),
N_
(
"Dance"
),
N_
(
"Full bass"
),
N_
(
"Full bass and treble"
),
N_
(
"Full treble"
),
N_
(
"Headphones"
),
N_
(
"Large Hall"
),
N_
(
"Live"
),
N_
(
"Party"
),
N_
(
"Pop"
),
N_
(
"Reggae"
),
...
...
@@ -45,7 +45,7 @@ static char *preset_list_text[] = {
typedef
struct
{
char
*
psz_name
;
c
onst
c
har
*
psz_name
;
int
i_band
;
float
f_preamp
;
float
f_amp
[
EQZ_BANDS_MAX
];
...
...
modules/codec/cmml/browser_open.c
View file @
d2dff446
...
...
@@ -28,6 +28,7 @@
#include <string.h>
#include "xstrcat.h"
#include "browser_open.h"
int
browser_Open
(
const
char
*
psz_url
)
{
...
...
modules/codec/cmml/history.c
View file @
d2dff446
...
...
@@ -49,7 +49,7 @@ static void history_Dump( history_t *p_history );
* Actual history code
*****************************************************************************/
history_t
*
history_New
()
history_t
*
history_New
(
void
)
{
history_t
*
p_new_history
;
...
...
modules/codec/cmml/history.h
View file @
d2dff446
...
...
@@ -49,7 +49,7 @@ typedef struct history_t history_t;
/*****************************************************************************
* Exported prototypes
*****************************************************************************/
history_t
*
history_New
();
history_t
*
history_New
(
void
);
vlc_bool_t
history_GoBackSavingCurrentItem
(
history_t
*
,
history_item_t
*
);
vlc_bool_t
history_GoForwardSavingCurrentItem
(
history_t
*
,
...
...
modules/codec/sdl_image.c
View file @
d2dff446
...
...
@@ -61,7 +61,7 @@ vlc_module_end();
static
const
struct
supported_fmt_t
{
vlc_fourcc_t
i_fourcc
;
char
*
psz_sdl_type
;
c
onst
c
har
*
psz_sdl_type
;
}
p_supported_fmt
[]
=
{
{
VLC_FOURCC
(
't'
,
'g'
,
'a'
,
' '
),
"TGA"
},
...
...
modules/codec/x264.c
View file @
d2dff446
...
...
@@ -309,26 +309,26 @@ static void Close( vlc_object_t * );
#define AUD_LONGTEXT N_( "Generate access unit delimiter NAL units.")
#if X264_BUILD >= 24
static
char
*
enc_me_list
[]
=
static
c
onst
c
har
*
enc_me_list
[]
=
{
"dia"
,
"hex"
,
"umh"
,
"esa"
};
static
char
*
enc_me_list_text
[]
=
static
c
onst
c
har
*
enc_me_list_text
[]
=
{
N_
(
"dia"
),
N_
(
"hex"
),
N_
(
"umh"
),
N_
(
"esa"
)
};
#endif
static
char
*
enc_analyse_list
[]
=
static
c
onst
c
har
*
enc_analyse_list
[]
=
{
"none"
,
"fast"
,
"normal"
,
"slow"
,
"all"
};
static
char
*
enc_analyse_list_text
[]
=
static
c
onst
c
har
*
enc_analyse_list_text
[]
=
{
N_
(
"none"
),
N_
(
"fast"
),
N_
(
"normal"
),
N_
(
"slow"
),
N_
(
"all"
)
};
#if X264_BUILD >= 45
/* r457 */
static
char
*
direct_pred_list
[]
=
static
c
onst
c
har
*
direct_pred_list
[]
=
{
"none"
,
"spatial"
,
"temporal"
,
"auto"
};
static
char
*
direct_pred_list_text
[]
=
static
c
onst
c
har
*
direct_pred_list_text
[]
=
{
N_
(
"none"
),
N_
(
"spatial"
),
N_
(
"temporal"
),
N_
(
"auto"
)
};
#else
static
char
*
direct_pred_list
[]
=
static
c
onst
c
har
*
direct_pred_list
[]
=
{
"none"
,
"spatial"
,
"temporal"
};
static
char
*
direct_pred_list_text
[]
=
static
c
onst
c
har
*
direct_pred_list_text
[]
=
{
N_
(
"none"
),
N_
(
"spatial"
),
N_
(
"temporal"
)
};
#endif
...
...
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