[vlc-commits] rtp sout: missing const
Rémi Denis-Courmont
git at videolan.org
Sat Feb 21 11:24:21 CET 2015
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Feb 21 11:23:09 2015 +0200| [d34d35288687f2acd795336d9de9bbeab5873fd8] | committer: Rémi Denis-Courmont
rtp sout: missing const
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d34d35288687f2acd795336d9de9bbeab5873fd8
---
modules/stream_out/rtp.h | 2 +-
modules/stream_out/rtpfmt.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/stream_out/rtp.h b/modules/stream_out/rtp.h
index 01d6b61..eae3754 100644
--- a/modules/stream_out/rtp.h
+++ b/modules/stream_out/rtp.h
@@ -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 */
diff --git a/modules/stream_out/rtpfmt.c b/modules/stream_out/rtpfmt.c
index 6f0dbb5..6b67fee 100644
--- a/modules/stream_out/rtpfmt.c
+++ b/modules/stream_out/rtpfmt.c
@@ -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 );
More information about the vlc-commits
mailing list