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
f93eb575
Commit
f93eb575
authored
Aug 04, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiler warnings.
parent
63885438
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
modules/access/dc1394.c
modules/access/dc1394.c
+1
-1
modules/demux/live555.cpp
modules/demux/live555.cpp
+1
-1
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+5
-2
No files found.
modules/access/dc1394.c
View file @
f93eb575
...
@@ -156,7 +156,7 @@ static int FindCamera( demux_sys_t *sys, demux_t *p_demux )
...
@@ -156,7 +156,7 @@ static int FindCamera( demux_sys_t *sys, demux_t *p_demux )
}
}
if
(
!
found
)
if
(
!
found
)
{
{
msg_Err
(
p_demux
,
"Can't find camera with uid : 0x%
llx
."
,
msg_Err
(
p_demux
,
"Can't find camera with uid : 0x%
"
PRIx64
"
."
,
sys
->
selected_uid
);
sys
->
selected_uid
);
goto
end
;
goto
end
;
}
}
...
...
modules/demux/live555.cpp
View file @
f93eb575
...
@@ -1626,7 +1626,7 @@ static block_t *StreamParseAsf( demux_t *p_demux, live_track_t *tk,
...
@@ -1626,7 +1626,7 @@ static block_t *StreamParseAsf( demux_t *p_demux, live_track_t *tk,
else
else
{
{
/* Reset on broken stream */
/* Reset on broken stream */
msg_Err
(
p_demux
,
"Broken packet detected (%d vs %
d
or %d + %d vs %d)"
,
msg_Err
(
p_demux
,
"Broken packet detected (%d vs %
zu
or %d + %d vs %d)"
,
i_offset
,
tk
->
p_asf_block
->
i_buffer
,
i_offset
,
i_payload
,
i_packet_size
);
i_offset
,
tk
->
p_asf_block
->
i_buffer
,
i_offset
,
i_payload
,
i_packet_size
);
tk
->
p_asf_block
->
i_buffer
=
0
;
tk
->
p_asf_block
->
i_buffer
=
0
;
}
}
...
...
modules/gui/qt4/menus.cpp
View file @
f93eb575
...
@@ -27,6 +27,9 @@
...
@@ -27,6 +27,9 @@
* - Remove static currentGroup
* - Remove static currentGroup
*/
*/
#define __STDC_FORMAT_MACROS 1
#define __STDC_CONSTANT_MACROS 1
#ifdef HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
# include "config.h"
# include "config.h"
#endif
#endif
...
@@ -122,7 +125,7 @@ QAction* addMIMStaticEntry( intf_thread_t *p_intf,
...
@@ -122,7 +125,7 @@ QAction* addMIMStaticEntry( intf_thread_t *p_intf,
bool
bStatic
=
false
)
bool
bStatic
=
false
)
{
{
QAction
*
action
;
QAction
*
action
;
if
(
strlen
(
icon
)
>
0
)
if
(
!
EMPTY_STR
(
icon
)
)
{
{
action
=
menu
->
addAction
(
text
,
THEMIM
,
member
);
action
=
menu
->
addAction
(
text
,
THEMIM
,
member
);
action
->
setIcon
(
QIcon
(
icon
)
);
action
->
setIcon
(
QIcon
(
icon
)
);
...
@@ -1390,7 +1393,7 @@ int QVLCMenu::CreateChoicesMenu( QMenu *submenu, const char *psz_var,
...
@@ -1390,7 +1393,7 @@ int QVLCMenu::CreateChoicesMenu( QMenu *submenu, const char *psz_var,
case
VLC_VAR_INTEGER
:
case
VLC_VAR_INTEGER
:
var_Get
(
p_object
,
psz_var
,
&
val
);
var_Get
(
p_object
,
psz_var
,
&
val
);
if
(
CURTEXT
)
menutext
=
qfu
(
CURTEXT
);
if
(
CURTEXT
)
menutext
=
qfu
(
CURTEXT
);
else
menutext
.
sprintf
(
"%
d"
,
CURVAL
.
i_int
);
else
menutext
.
sprintf
(
"%
"
PRId64
,
CURVAL
.
i_int
);
CreateAndConnect
(
submenu
,
psz_var
,
menutext
,
""
,
ITEM_RADIO
,
CreateAndConnect
(
submenu
,
psz_var
,
menutext
,
""
,
ITEM_RADIO
,
p_object
,
CURVAL
,
i_type
,
p_object
,
CURVAL
,
i_type
,
(
CURVAL
.
i_int
==
val
.
i_int
)
(
CURVAL
.
i_int
==
val
.
i_int
)
...
...
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