Fix auth encoding, partial revert of r12
authorhyc <hyc@400ebc74-4327-4243-bc38-086b20814532>
Sun, 15 Nov 2009 21:56:50 +0000 (21:56 +0000)
committerhyc <hyc@400ebc74-4327-4243-bc38-086b20814532>
Sun, 15 Nov 2009 21:56:50 +0000 (21:56 +0000)
git-svn-id: svn://svn.mplayerhq.hu/rtmpdump@53 400ebc74-4327-4243-bc38-086b20814532

rtmp.cpp

index 557406e..df83c08 100644 (file)
--- a/rtmp.cpp
+++ b/rtmp.cpp
@@ -766,8 +766,8 @@ bool CRTMP::SendConnectPacket()
   // add auth string
   if(Link.auth)
   {
-//     *enc = 0x01; enc++;
-//     *enc = 0x01; enc++;
+       *enc = 0x01; enc++;
+       *enc = 0x01; enc++;
 
        enc += EncodeString(enc, Link.auth);
   }