decoder/ffmpeg: remove "rtsp://" from the list of supported protocols

FFmpeg implements RTSP as a demuxer, not as a protocol handler.  Thus,
avio_open() cannot be used, and our input plugin cannot handle RTSP.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/930
This commit is contained in:
Max Kellermann 2020-09-16 16:31:10 +02:00
parent b2ae5298a7
commit 43e230f543
2 changed files with 1 additions and 1 deletions

1
NEWS
View File

@ -9,6 +9,7 @@ ver 0.21.26 (not yet released)
- iso9660: support seeking
- zzip: fix crash on corrupt ZIP file
* decoder
- ffmpeg: remove "rtsp://" from the list of supported protocols
- sndfile: fix lost samples at end of file
ver 0.21.25 (2020/07/06)

View File

@ -140,7 +140,6 @@ FfmpegInputStream::Seek(offset_type new_offset)
static constexpr const char *ffmpeg_prefixes[] = {
"gopher://",
"rtp://",
"rtsp://",
"rtmp://",
"rtmpt://",
"rtmps://",