rtmpproto: info out for unsupported auth vars

Should aid debugging badly formatted URLs

Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
This commit is contained in:
Reynaldo H. Verdejo Pinochet 2014-05-16 13:39:03 -04:00
parent e83aae2839
commit 93cade4825
1 changed files with 2 additions and 0 deletions

View File

@ -1724,6 +1724,8 @@ static int handle_connect_error(URLContext *s, const char *desc)
challenge = value;
} else if (!strcmp(ptr, "nonce")) {
nonce = value;
} else {
av_log(s, AV_LOG_INFO, "Ignoring unsupported var %s\n", ptr);
}
} else {
av_log(s, AV_LOG_WARNING, "Variable %s has NULL value\n", ptr);