]> git.sesse.net Git - vlc/commitdiff
rtp sout: missing const
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 21 Feb 2015 09:23:09 +0000 (11:23 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 21 Feb 2015 09:23:09 +0000 (11:23 +0200)
modules/stream_out/rtp.h
modules/stream_out/rtpfmt.c

index 01d6b6133d2a3af53811a969432e51fa0031450f..eae375486fb61146c51d5ad449a6e865070def15 100644 (file)
@@ -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 */
index 6f0dbb540120466c0b262a632581ce0fd643ad0e..6b67fee587de24b46f544e28ac31d200f6bd4738 100644 (file)
@@ -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 );