aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2014-10-09 22:07:35 +0200
committerLuca Barbato <lu_zero@gentoo.org>2014-10-10 16:29:06 +0200
commit3df8d52fcdc9036b4074fdc612d487ece8bb5b7f (patch)
tree069f0296cbecf7c157220a42e2a8eb00d830acef /libavformat
parentc839b0439f0b01c72a6d253920d2e342b30f8bcb (diff)
downloadffmpeg-3df8d52fcdc9036b4074fdc612d487ece8bb5b7f.tar.gz
rtsp: Add rtsps to the probe
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/rtspdec.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c
index 5dda52ef6a..aa016c3194 100644
--- a/libavformat/rtspdec.c
+++ b/libavformat/rtspdec.c
@@ -680,7 +680,11 @@ static int rtsp_listen(AVFormatContext *s)
static int rtsp_probe(AVProbeData *p)
{
- if (av_strstart(p->filename, "rtsp:", NULL))
+ if (
+#if CONFIG_TLS_PROTOCOL
+ av_strstart(p->filename, "rtsps:", NULL) ||
+#endif
+ av_strstart(p->filename, "rtsp:", NULL))
return AVPROBE_SCORE_MAX;
return 0;
}