diff options
author | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2019-03-21 01:18:37 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <ceffmpeg@gmail.com> | 2019-03-21 11:42:17 +0100 |
commit | 4d8875ec23cf299277a0f028ea2ac99eb6f603c9 (patch) | |
tree | 6a1d32dd7d4dec420de705f53abe9150675ae3b3 /libavformat/rtsp.c | |
parent | 6dc1da416e14ede6cf8018183f86aeec5cfae86b (diff) | |
download | ffmpeg-streaming-4d8875ec23cf299277a0f028ea2ac99eb6f603c9.zip ffmpeg-streaming-4d8875ec23cf299277a0f028ea2ac99eb6f603c9.tar.gz |
lavf: Constify the probe function argument.
Reviewed-by: Lauri Kasanen
Reviewed-by: Tomas Härdin
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r-- | libavformat/rtsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 975637c..ae88112 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -2281,7 +2281,7 @@ end: #endif /* CONFIG_RTPDEC */ #if CONFIG_SDP_DEMUXER -static int sdp_probe(AVProbeData *p1) +static int sdp_probe(const AVProbeData *p1) { const char *p = p1->buf, *p_end = p1->buf + p1->buf_size; @@ -2420,7 +2420,7 @@ AVInputFormat ff_sdp_demuxer = { #endif /* CONFIG_SDP_DEMUXER */ #if CONFIG_RTP_DEMUXER -static int rtp_probe(AVProbeData *p) +static int rtp_probe(const AVProbeData *p) { if (av_strstart(p->filename, "rtp:", NULL)) return AVPROBE_SCORE_MAX; |