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
6cf25e2b
Commit
6cf25e2b
authored
Nov 13, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cmml: again, fix warning in a better way.
parent
c22afa5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
modules/codec/cmml/intf.c
modules/codec/cmml/intf.c
+7
-7
No files found.
modules/codec/cmml/intf.c
View file @
6cf25e2b
...
...
@@ -53,7 +53,7 @@
#include "xstrcat.h"
#include "xurl.h"
#undef
CMML_INTF_USE_TIMED_URIS
#undef CMML_INTF_USE_TIMED_URIS
#undef CMML_INTF_DEBUG
#undef CMML_INTF_HISTORY_DEBUG
...
...
@@ -100,8 +100,10 @@ static int GoForwardCallback ( vlc_object_t *, char const *,
vlc_value_t
,
vlc_value_t
,
void
*
);
static
char
*
GetTimedURLFromPlaylistItem
(
intf_thread_t
*
,
playlist_item_t
*
);
static
char
*
GetTimedURIFragmentForTime
(
int
);
#ifdef CMML_INTF_USE_TIMED_URIS
static
int
GetCurrentTimeInSeconds
(
input_thread_t
*
);
static
char
*
GetTimedURIFragmentForTime
(
int
);
#endif
static
int
DisplayAnchor
(
intf_thread_t
*
,
vout_thread_t
*
,
char
*
,
char
*
);
static
int
DisplayPendingAnchor
(
intf_thread_t
*
,
vout_thread_t
*
);
...
...
@@ -554,17 +556,14 @@ char *GetTimedURLFromPlaylistItem( intf_thread_t *p_intf,
return
psz_return_value
;
#else
VLC_UNUSED
(
p_intf
);
void
*
p
;
/* Suppress warning messages about unused functions */
p
=
GetTimedURIFragmentForTime
;
/* unused */
p
=
GetCurrentTimeInSeconds
;
/* unused */
return
input_item_GetURI
(
p_current_item
->
p_input
);
#endif
}
#ifdef CMML_INTF_USE_TIMED_URIS
/*
* Get the current time, rounded down to the nearest second
*
...
...
@@ -590,6 +589,7 @@ char *GetTimedURIFragmentForTime( int seconds )
return
NULL
;
return
psz_time
;
}
#endif
static
int
GoBackCallback
(
vlc_object_t
*
p_this
,
char
const
*
psz_var
,
...
...
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