[FFmpeg-cvslog] rtmpproto: info out for unsupported auth vars

Reynaldo H. Verdejo Pinochet git at videolan.org
Fri May 16 23:39:57 CEST 2014


ffmpeg | branch: master | Reynaldo H. Verdejo Pinochet <r.verdejo at sisa.samsung.com> | Fri May 16 13:39:03 2014 -0400| [93cade48254ae96da96a70cefab2d45921dfb92d] | committer: Reynaldo H. Verdejo Pinochet

rtmpproto: info out for unsupported auth vars

Should aid debugging badly formatted URLs

Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo at sisa.samsung.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=93cade48254ae96da96a70cefab2d45921dfb92d
---

 libavformat/rtmpproto.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index b65521b..7aa8b51 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -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);



More information about the ffmpeg-cvslog mailing list