mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-09-02 06:23:23 +02:00
Merge commit '8e1fe345577a42f99591caf8a06c447613449694'
* commit '8e1fe345577a42f99591caf8a06c447613449694': rtmp: Detect and warn if the user tries to pass librtmp style parameters Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
6c7a05352f
@ -2310,6 +2310,13 @@ static int rtmp_open(URLContext *s, const char *uri, int flags)
|
||||
hostname, sizeof(hostname), &port,
|
||||
path, sizeof(path), s->filename);
|
||||
|
||||
if (strchr(path, ' ')) {
|
||||
av_log(s, AV_LOG_WARNING,
|
||||
"Detected librtmp style URL parameters, these aren't supported "
|
||||
"by the libavformat internal RTMP handler currently enabled. "
|
||||
"See the documentation for the correct way to pass parameters.\n");
|
||||
}
|
||||
|
||||
if (auth[0]) {
|
||||
char *ptr = strchr(auth, ':');
|
||||
if (ptr) {
|
||||
|
Loading…
Reference in New Issue
Block a user