[FFmpeg-cvslog] rtmp: Drop an unneeded warning

Luca Barbato git at videolan.org
Tue Sep 17 11:34:52 CEST 2013


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Mon Sep 16 11:37:48 2013 +0200| [666ed7eda1d568638689ac7b0cef0a9e564ffbdf] | committer: Luca Barbato

rtmp: Drop an unneeded warning

Apparently a widely used streaming server requires that the second
field always presents a version during C1 phase.

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

 libavformat/rtmpproto.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index 381332f..c75152f 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -1398,8 +1398,6 @@ static int rtmp_server_handshake(URLContext *s, RTMPContext *rt)
         av_log(s, AV_LOG_ERROR, "RTMP Handshake C1 Error\n");
         return ret;
     }
-    if (zeroes)
-        av_log(s, AV_LOG_WARNING, "Erroneous C1 Message zero != 0\n");
     /* Send S1 */
     /* By now same epoch will be sent */
     hs_my_epoch = hs_epoch;



More information about the ffmpeg-cvslog mailing list