From: Luca Barbato Date: Thu, 9 Oct 2014 20:07:35 +0000 (+0200) Subject: rtsp: Add rtsps to the probe X-Git-Tag: n2.5~28^2~312 X-Git-Url: http://git.videolan.org/?p=ffmpeg.git;a=commitdiff_plain;h=3df8d52fcdc9036b4074fdc612d487ece8bb5b7f rtsp: Add rtsps to the probe --- 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; }