mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 11:49:48 +00:00
Merge commit '3df8d52fcdc9036b4074fdc612d487ece8bb5b7f'
* commit '3df8d52fcdc9036b4074fdc612d487ece8bb5b7f': rtsp: Add rtsps to the probe Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
76d1ffffd0
@ -682,7 +682,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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user