[vlc-commits] itml: remove unused argument
Rémi Denis-Courmont
git at videolan.org
Tue Nov 20 21:34:14 CET 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Nov 20 21:36:45 2018 +0200| [9e971a6048b577e301c58e2b395501811a9934c2] | committer: Rémi Denis-Courmont
itml: remove unused argument
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9e971a6048b577e301c58e2b395501811a9934c2
---
modules/demux/playlist/itml.c | 5 ++---
modules/demux/playlist/itml.h | 3 +--
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/modules/demux/playlist/itml.c b/modules/demux/playlist/itml.c
index bfbff305e7..c9f01095ff 100644
--- a/modules/demux/playlist/itml.c
+++ b/modules/demux/playlist/itml.c
@@ -230,7 +230,7 @@ static bool parse_dict( stream_t *p_demux, input_item_node_t *p_input_node,
/* call the simple handler */
else if( p_handler->pf_handler.smpl )
{
- p_handler->pf_handler.smpl( p_track, psz_key, psz_value, p_demux->p_sys );
+ p_handler->pf_handler.smpl( p_track, psz_key, psz_value );
}
FREENULL(psz_value);
p_handler = NULL;
@@ -367,9 +367,8 @@ static void free_track( track_elem_t *p_track )
}
static bool save_data( track_elem_t *p_track, const char *psz_name,
- char *psz_value, void *opaque )
+ char *psz_value )
{
- VLC_UNUSED(opaque);
/* exit if setting is impossible */
if( !psz_name || !psz_value || !p_track )
return false;
diff --git a/modules/demux/playlist/itml.h b/modules/demux/playlist/itml.h
index 38ef1d3d56..a0142f56ca 100644
--- a/modules/demux/playlist/itml.h
+++ b/modules/demux/playlist/itml.h
@@ -32,8 +32,7 @@
#define SIMPLE_INTERFACE (track_elem_t *p_track,\
const char *psz_name,\
- char *psz_value,\
- void *opaque)
+ char *psz_value)
#define COMPLEX_INTERFACE (stream_t *p_demux,\
input_item_node_t *p_input_node,\
track_elem_t *p_track,\
More information about the vlc-commits
mailing list