Commit d34d3528 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

rtp sout: missing const

parent 969f38cb
......@@ -86,7 +86,7 @@ typedef struct rtp_format_t
pf_rtp_packetizer_t pf_packetize;
} rtp_format_t;
int rtp_get_fmt( vlc_object_t *obj, es_format_t *p_fmt, const char *mux,
int rtp_get_fmt( vlc_object_t *obj, const es_format_t *p_fmt, const char *mux,
rtp_format_t *p_rtp_fmt );
/* Only used by rtp_packetize_rawvideo */
......
......@@ -163,8 +163,8 @@ static void sprintf_hexa( char *s, uint8_t *p_data, int i_data )
}
/* TODO: make this into something more clever than a big switch? */
int rtp_get_fmt( vlc_object_t *obj, es_format_t *p_fmt, const char *mux,
rtp_format_t *rtp_fmt )
int rtp_get_fmt( vlc_object_t *obj, const es_format_t *p_fmt, const char *mux,
rtp_format_t *rtp_fmt )
{
assert( p_fmt != NULL || mux != NULL );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment