Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
a396b96c
Commit
a396b96c
authored
Oct 14, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove uneeded warining (and often impossible to send)
parent
17e8ab51
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
6 additions
and
56 deletions
+6
-56
modules/access/jack.c
modules/access/jack.c
+2
-2
modules/access/vcdx/access.c
modules/access/vcdx/access.c
+2
-6
modules/access_output/rtmp.c
modules/access_output/rtmp.c
+0
-3
modules/codec/kate.c
modules/codec/kate.c
+0
-3
modules/codec/theora.c
modules/codec/theora.c
+0
-3
modules/demux/mp4/libmp4.c
modules/demux/mp4/libmp4.c
+0
-3
modules/gui/beos/AudioOutput.cpp
modules/gui/beos/AudioOutput.cpp
+0
-3
modules/gui/beos/Interface.cpp
modules/gui/beos/Interface.cpp
+0
-3
modules/gui/beos/VideoOutput.cpp
modules/gui/beos/VideoOutput.cpp
+1
-4
modules/gui/macosx/voutgl.m
modules/gui/macosx/voutgl.m
+0
-3
modules/gui/minimal_macosx/voutgl.m
modules/gui/minimal_macosx/voutgl.m
+0
-3
modules/gui/pda/pda.c
modules/gui/pda/pda.c
+0
-3
modules/gui/qnx/aout.c
modules/gui/qnx/aout.c
+0
-3
modules/gui/qnx/vout.c
modules/gui/qnx/vout.c
+0
-9
modules/gui/wince/wince.cpp
modules/gui/wince/wince.cpp
+1
-4
modules/video_filter/clone.c
modules/video_filter/clone.c
+0
-1
No files found.
modules/access/jack.c
View file @
a396b96c
/*****************************************************************************
/*****************************************************************************
* jack.c: JACK audio input module
* jack.c: JACK audio input module
*****************************************************************************
*****************************************************************************
* Copyright (C) 2007 the VideoLAN team
* Copyright (C) 2007
-2008
the VideoLAN team
* Copyright (C) 2007 Société des arts technologiques
* Copyright (C) 2007 Société des arts technologiques
* Copyright (C) 2007 Savoir-faire Linux
* Copyright (C) 2007 Savoir-faire Linux
*
*
...
@@ -170,7 +170,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -170,7 +170,7 @@ static int Open( vlc_object_t *p_this )
}
}
/* find some specifics ports if user entered a regexp */
/* find some specifics ports if user entered a regexp */
if
(
p_sys
->
psz_ports
)
if
(
p_sys
->
psz_ports
)
{
{
Port_finder
(
p_demux
);
Port_finder
(
p_demux
);
if
(
p_sys
->
i_channels
==
0
)
if
(
p_sys
->
i_channels
==
0
)
...
...
modules/access/vcdx/access.c
View file @
a396b96c
...
@@ -874,10 +874,7 @@ VCDOpen ( vlc_object_t *p_this )
...
@@ -874,10 +874,7 @@ VCDOpen ( vlc_object_t *p_this )
p_vcdplayer
=
malloc
(
sizeof
(
vcdplayer_t
)
);
p_vcdplayer
=
malloc
(
sizeof
(
vcdplayer_t
)
);
if
(
p_vcdplayer
==
NULL
)
if
(
p_vcdplayer
==
NULL
)
{
LOG_ERR
(
"out of memory"
);
return
VLC_ENOMEM
;
return
VLC_ENOMEM
;
}
p_vcdplayer
->
i_debug
=
config_GetInt
(
p_this
,
MODULE_STRING
"-debug"
);
p_vcdplayer
->
i_debug
=
config_GetInt
(
p_this
,
MODULE_STRING
"-debug"
);
p_access
->
p_sys
=
(
access_sys_t
*
)
p_vcdplayer
;
p_access
->
p_sys
=
(
access_sys_t
*
)
p_vcdplayer
;
...
@@ -1109,9 +1106,8 @@ static int VCDControl( access_t *p_access, int i_query, va_list args )
...
@@ -1109,9 +1106,8 @@ static int VCDControl( access_t *p_access, int i_query, va_list args )
dbg_print
(
INPUT_DBG_EVENT
,
"GET TITLE: i_titles %d"
,
dbg_print
(
INPUT_DBG_EVENT
,
"GET TITLE: i_titles %d"
,
p_vcdplayer
->
i_titles
);
p_vcdplayer
->
i_titles
);
if
(
psz_mrl
==
NULL
)
{
if
(
psz_mrl
)
msg_Warn
(
p_access
,
"out of memory"
);
{
}
else
{
snprintf
(
psz_mrl
,
psz_mrl_max
,
"%s%s"
,
snprintf
(
psz_mrl
,
psz_mrl_max
,
"%s%s"
,
VCD_MRL_PREFIX
,
p_vcdplayer
->
psz_source
);
VCD_MRL_PREFIX
,
p_vcdplayer
->
psz_source
);
VCDMetaInfo
(
p_access
,
psz_mrl
);
VCDMetaInfo
(
p_access
,
psz_mrl
);
...
...
modules/access_output/rtmp.c
View file @
a396b96c
...
@@ -99,10 +99,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -99,10 +99,7 @@ static int Open( vlc_object_t *p_this )
p_sys
->
p_thread
=
p_sys
->
p_thread
=
vlc_object_create
(
p_access
,
sizeof
(
rtmp_control_thread_t
)
);
vlc_object_create
(
p_access
,
sizeof
(
rtmp_control_thread_t
)
);
if
(
!
p_sys
->
p_thread
)
if
(
!
p_sys
->
p_thread
)
{
msg_Err
(
p_access
,
"out of memory"
);
return
VLC_ENOMEM
;
return
VLC_ENOMEM
;
}
vlc_object_attach
(
p_sys
->
p_thread
,
p_access
);
vlc_object_attach
(
p_sys
->
p_thread
,
p_access
);
/* Parse URI - remove spaces */
/* Parse URI - remove spaces */
...
...
modules/codec/kate.c
View file @
a396b96c
...
@@ -716,10 +716,7 @@ static void ParseKateComments( decoder_t *p_dec )
...
@@ -716,10 +716,7 @@ static void ParseKateComments( decoder_t *p_dec )
{
{
psz_comment
=
strdup
(
p_dec
->
p_sys
->
kc
.
user_comments
[
i
]
);
psz_comment
=
strdup
(
p_dec
->
p_sys
->
kc
.
user_comments
[
i
]
);
if
(
!
psz_comment
)
if
(
!
psz_comment
)
{
msg_Warn
(
p_dec
,
"out of memory"
);
break
;
break
;
}
psz_name
=
psz_comment
;
psz_name
=
psz_comment
;
psz_value
=
strchr
(
psz_comment
,
'='
);
psz_value
=
strchr
(
psz_comment
,
'='
);
if
(
psz_value
)
if
(
psz_value
)
...
...
modules/codec/theora.c
View file @
a396b96c
...
@@ -520,10 +520,7 @@ static void ParseTheoraComments( decoder_t *p_dec )
...
@@ -520,10 +520,7 @@ static void ParseTheoraComments( decoder_t *p_dec )
{
{
psz_comment
=
strdup
(
p_dec
->
p_sys
->
tc
.
user_comments
[
i
]
);
psz_comment
=
strdup
(
p_dec
->
p_sys
->
tc
.
user_comments
[
i
]
);
if
(
!
psz_comment
)
if
(
!
psz_comment
)
{
msg_Warn
(
p_dec
,
"out of memory"
);
break
;
break
;
}
psz_name
=
psz_comment
;
psz_name
=
psz_comment
;
psz_value
=
strchr
(
psz_comment
,
'='
);
psz_value
=
strchr
(
psz_comment
,
'='
);
if
(
psz_value
)
if
(
psz_value
)
...
...
modules/demux/mp4/libmp4.c
View file @
a396b96c
...
@@ -1910,10 +1910,7 @@ static int MP4_ReadBox_cmov( stream_t *p_stream, MP4_Box_t *p_box )
...
@@ -1910,10 +1910,7 @@ static int MP4_ReadBox_cmov( stream_t *p_stream, MP4_Box_t *p_box )
#endif
#endif
if
(
!
(
p_box
->
data
.
p_cmov
=
malloc
(
sizeof
(
MP4_Box_data_cmov_t
)
)
)
)
if
(
!
(
p_box
->
data
.
p_cmov
=
malloc
(
sizeof
(
MP4_Box_data_cmov_t
)
)
)
)
{
msg_Err
(
p_stream
,
"out of memory"
);
return
0
;
return
0
;
}
memset
(
p_box
->
data
.
p_cmov
,
0
,
sizeof
(
MP4_Box_data_cmov_t
)
);
memset
(
p_box
->
data
.
p_cmov
,
0
,
sizeof
(
MP4_Box_data_cmov_t
)
);
if
(
!
p_box
->
p_father
||
if
(
!
p_box
->
p_father
||
...
...
modules/gui/beos/AudioOutput.cpp
View file @
a396b96c
...
@@ -69,10 +69,7 @@ int OpenAudio ( vlc_object_t * p_this )
...
@@ -69,10 +69,7 @@ int OpenAudio ( vlc_object_t * p_this )
aout_instance_t
*
p_aout
=
(
aout_instance_t
*
)
p_this
;
aout_instance_t
*
p_aout
=
(
aout_instance_t
*
)
p_this
;
p_aout
->
output
.
p_sys
=
(
aout_sys_t
*
)
malloc
(
sizeof
(
aout_sys_t
)
);
p_aout
->
output
.
p_sys
=
(
aout_sys_t
*
)
malloc
(
sizeof
(
aout_sys_t
)
);
if
(
p_aout
->
output
.
p_sys
==
NULL
)
if
(
p_aout
->
output
.
p_sys
==
NULL
)
{
msg_Err
(
p_aout
,
"out of memory"
);
return
-
1
;
return
-
1
;
}
aout_sys_t
*
p_sys
=
p_aout
->
output
.
p_sys
;
aout_sys_t
*
p_sys
=
p_aout
->
output
.
p_sys
;
aout_VolumeSoftInit
(
p_aout
);
aout_VolumeSoftInit
(
p_aout
);
...
...
modules/gui/beos/Interface.cpp
View file @
a396b96c
...
@@ -68,10 +68,7 @@ int OpenIntf ( vlc_object_t *p_this )
...
@@ -68,10 +68,7 @@ int OpenIntf ( vlc_object_t *p_this )
/* Allocate instance and initialize some members */
/* Allocate instance and initialize some members */
p_intf
->
p_sys
=
(
intf_sys_t
*
)
malloc
(
sizeof
(
intf_sys_t
)
);
p_intf
->
p_sys
=
(
intf_sys_t
*
)
malloc
(
sizeof
(
intf_sys_t
)
);
if
(
!
p_intf
->
p_sys
)
if
(
!
p_intf
->
p_sys
)
{
msg_Err
(
p_intf
,
"out of memory"
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
p_intf
->
pf_run
=
Run
;
p_intf
->
pf_run
=
Run
;
...
...
modules/gui/beos/VideoOutput.cpp
View file @
a396b96c
...
@@ -1228,10 +1228,7 @@ int OpenVideo ( vlc_object_t *p_this )
...
@@ -1228,10 +1228,7 @@ int OpenVideo ( vlc_object_t *p_this )
/* Allocate structure */
/* Allocate structure */
p_vout
->
p_sys
=
(
vout_sys_t
*
)
malloc
(
sizeof
(
vout_sys_t
)
);
p_vout
->
p_sys
=
(
vout_sys_t
*
)
malloc
(
sizeof
(
vout_sys_t
)
);
if
(
p_vout
->
p_sys
==
NULL
)
if
(
p_vout
->
p_sys
==
NULL
)
{
return
1
;
msg_Err
(
p_vout
,
"out of memory"
);
return
(
1
);
}
p_vout
->
p_sys
->
i_width
=
p_vout
->
render
.
i_width
;
p_vout
->
p_sys
->
i_width
=
p_vout
->
render
.
i_width
;
p_vout
->
p_sys
->
i_height
=
p_vout
->
render
.
i_height
;
p_vout
->
p_sys
->
i_height
=
p_vout
->
render
.
i_height
;
p_vout
->
p_sys
->
source_chroma
=
p_vout
->
render
.
i_chroma
;
p_vout
->
p_sys
->
source_chroma
=
p_vout
->
render
.
i_chroma
;
...
...
modules/gui/macosx/voutgl.m
View file @
a396b96c
...
@@ -110,10 +110,7 @@ int OpenVideoGL ( vlc_object_t * p_this )
...
@@ -110,10 +110,7 @@ int OpenVideoGL ( vlc_object_t * p_this )
p_vout
->
p_sys
=
malloc
(
sizeof
(
vout_sys_t
)
);
p_vout
->
p_sys
=
malloc
(
sizeof
(
vout_sys_t
)
);
if
(
p_vout
->
p_sys
==
NULL
)
if
(
p_vout
->
p_sys
==
NULL
)
{
msg_Err
(
p_vout
,
"out of memory"
);
return
(
1
);
return
(
1
);
}
memset
(
p_vout
->
p_sys
,
0
,
sizeof
(
vout_sys_t
)
);
memset
(
p_vout
->
p_sys
,
0
,
sizeof
(
vout_sys_t
)
);
...
...
modules/gui/minimal_macosx/voutgl.m
View file @
a396b96c
...
@@ -49,10 +49,7 @@ int OpenVideoGL ( vlc_object_t * p_this )
...
@@ -49,10 +49,7 @@ int OpenVideoGL ( vlc_object_t * p_this )
p_vout->p_sys = malloc( sizeof( vout_sys_t ) );
p_vout->p_sys = malloc( sizeof( vout_sys_t ) );
if( p_vout->p_sys == NULL )
if( p_vout->p_sys == NULL )
{
msg_Err( p_vout, "out of memory" );
return( 1 );
return( 1 );
}
memset( p_vout->p_sys, 0, sizeof( vout_sys_t ) );
memset( p_vout->p_sys, 0, sizeof( vout_sys_t ) );
...
...
modules/gui/pda/pda.c
View file @
a396b96c
...
@@ -86,10 +86,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -86,10 +86,7 @@ static int Open( vlc_object_t *p_this )
/* Allocate instance and initialize some members */
/* Allocate instance and initialize some members */
p_intf
->
p_sys
=
malloc
(
sizeof
(
intf_sys_t
)
);
p_intf
->
p_sys
=
malloc
(
sizeof
(
intf_sys_t
)
);
if
(
p_intf
->
p_sys
==
NULL
)
if
(
p_intf
->
p_sys
==
NULL
)
{
msg_Err
(
p_intf
,
"out of memory"
);
return
VLC_ENOMEM
;
return
VLC_ENOMEM
;
}
#ifdef NEED_GTK2_MAIN
#ifdef NEED_GTK2_MAIN
msg_Dbg
(
p_intf
,
"Using gui-helper"
);
msg_Dbg
(
p_intf
,
"Using gui-helper"
);
...
...
modules/gui/qnx/aout.c
View file @
a396b96c
...
@@ -79,10 +79,7 @@ int OpenAudio( vlc_object_t *p_this )
...
@@ -79,10 +79,7 @@ int OpenAudio( vlc_object_t *p_this )
/* allocate structure */
/* allocate structure */
p_aout
->
output
.
p_sys
=
malloc
(
sizeof
(
aout_sys_t
)
);
p_aout
->
output
.
p_sys
=
malloc
(
sizeof
(
aout_sys_t
)
);
if
(
p_aout
->
output
.
p_sys
==
NULL
)
if
(
p_aout
->
output
.
p_sys
==
NULL
)
{
msg_Err
(
p_aout
,
"out of memory"
);
return
-
1
;
return
-
1
;
}
/* open audio device */
/* open audio device */
if
(
(
i_ret
=
snd_pcm_open_preferred
(
&
p_aout
->
output
.
p_sys
->
p_pcm_handle
,
if
(
(
i_ret
=
snd_pcm_open_preferred
(
&
p_aout
->
output
.
p_sys
->
p_pcm_handle
,
...
...
modules/gui/qnx/vout.c
View file @
a396b96c
...
@@ -144,10 +144,7 @@ int OpenVideo ( vlc_object_t *p_this )
...
@@ -144,10 +144,7 @@ int OpenVideo ( vlc_object_t *p_this )
/* allocate structure */
/* allocate structure */
p_vout
->
p_sys
=
malloc
(
sizeof
(
vout_sys_t
)
);
p_vout
->
p_sys
=
malloc
(
sizeof
(
vout_sys_t
)
);
if
(
p_vout
->
p_sys
==
NULL
)
if
(
p_vout
->
p_sys
==
NULL
)
{
msg_Err
(
p_vout
,
"out of memory"
);
return
(
1
);
return
(
1
);
}
memset
(
p_vout
->
p_sys
,
0
,
sizeof
(
vout_sys_t
)
);
memset
(
p_vout
->
p_sys
,
0
,
sizeof
(
vout_sys_t
)
);
...
@@ -309,10 +306,7 @@ static int QNXManage( vout_thread_t *p_vout )
...
@@ -309,10 +306,7 @@ static int QNXManage( vout_thread_t *p_vout )
/* allocate buffer for event */
/* allocate buffer for event */
i_buflen
=
sizeof
(
PhEvent_t
)
*
4
;
i_buflen
=
sizeof
(
PhEvent_t
)
*
4
;
if
(
(
p_event
=
malloc
(
i_buflen
)
)
==
NULL
)
if
(
(
p_event
=
malloc
(
i_buflen
)
)
==
NULL
)
{
msg_Err
(
p_vout
,
"out of memory"
);
return
(
1
);
return
(
1
);
}
/* event loop */
/* event loop */
do
do
...
@@ -324,10 +318,7 @@ static int QNXManage( vout_thread_t *p_vout )
...
@@ -324,10 +318,7 @@ static int QNXManage( vout_thread_t *p_vout )
{
{
i_buflen
=
PhGetMsgSize
(
p_event
);
i_buflen
=
PhGetMsgSize
(
p_event
);
if
(
(
p_event
=
realloc
(
p_event
,
i_buflen
)
)
==
NULL
)
if
(
(
p_event
=
realloc
(
p_event
,
i_buflen
)
)
==
NULL
)
{
msg_Err
(
p_vout
,
"out of memory"
);
return
(
1
);
return
(
1
);
}
}
}
else
if
(
i_ev
==
Ph_EVENT_MSG
)
else
if
(
i_ev
==
Ph_EVENT_MSG
)
{
{
...
...
modules/gui/wince/wince.cpp
View file @
a396b96c
...
@@ -114,10 +114,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -114,10 +114,7 @@ static int Open( vlc_object_t *p_this )
// Allocate instance and initialize some members
// Allocate instance and initialize some members
p_intf
->
p_sys
=
(
intf_sys_t
*
)
malloc
(
sizeof
(
intf_sys_t
)
);
p_intf
->
p_sys
=
(
intf_sys_t
*
)
malloc
(
sizeof
(
intf_sys_t
)
);
if
(
p_intf
->
p_sys
==
NULL
)
if
(
p_intf
->
p_sys
==
NULL
)
{
return
VLC_ENOMEM
;
msg_Err
(
p_intf
,
"out of memory"
);
return
VLC_EGENERIC
;
}
// Suscribe to messages bank
// Suscribe to messages bank
p_intf
->
p_sys
->
p_sub
=
msg_Subscribe
(
p_intf
);
p_intf
->
p_sys
->
p_sub
=
msg_Subscribe
(
p_intf
);
...
...
modules/video_filter/clone.c
View file @
a396b96c
...
@@ -201,7 +201,6 @@ static int Create( vlc_object_t *p_this )
...
@@ -201,7 +201,6 @@ static int Create( vlc_object_t *p_this )
sizeof
(
vout_thread_t
*
)
);
sizeof
(
vout_thread_t
*
)
);
if
(
p_vout
->
p_sys
->
pp_vout
==
NULL
)
if
(
p_vout
->
p_sys
->
pp_vout
==
NULL
)
{
{
msg_Err
(
p_vout
,
"out of memory"
);
free
(
p_vout
->
p_sys
);
free
(
p_vout
->
p_sys
);
return
VLC_ENOMEM
;
return
VLC_ENOMEM
;
}
}
...
...
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