diff --git a/rtmp/rtmp_c/librtmp/rtmp.c b/rtmp/rtmp_c/librtmp/rtmp.c index 15c0d0dd..da46fd25 100644 --- a/rtmp/rtmp_c/librtmp/rtmp.c +++ b/rtmp/rtmp_c/librtmp/rtmp.c @@ -135,11 +135,11 @@ static void HandleServerBW(RTMP *r, const RTMPPacket *packet); static void HandleClientBW(RTMP *r, const RTMPPacket *packet); static int ReadN(RTMP *r, char *buffer, int n); -static int WriteN(RTMP *r, const char *buffer, int n); +int WriteN(RTMP *r, const char *buffer, int n); static void DecodeTEA(AVal *key, AVal *text); -static int HTTP_Post(RTMP *r, RTMPTCmd cmd, const char *buf, int len); +int HTTP_Post(RTMP *r, RTMPTCmd cmd, const char *buf, int len); static int HTTP_read(RTMP *r, int fill); static void CloseInternal(RTMP *r, int reconnect); @@ -1498,7 +1498,7 @@ ReadN(RTMP *r, char *buffer, int n) return nOriginalSize - n; } -static int +int WriteN(RTMP *r, const char *buffer, int n) { const char *ptr = buffer; @@ -2410,7 +2410,7 @@ RTMP_DropRequest(RTMP *r, int i, int freeit) AV_erase(r->m_methodCalls, &r->m_numCalls, i, freeit); } -static void +void AV_queue(RTMP_METHOD **vals, int *num, AVal *av, int txn) { char *tmp; @@ -3533,7 +3533,7 @@ DecodeInt32LE(const char *data) return val; } -static int +int EncodeInt32LE(char *output, int nVal) { output[0] = nVal; @@ -4403,7 +4403,7 @@ DecodeTEA(AVal *key, AVal *text) free(out); } -static int +int HTTP_Post(RTMP *r, RTMPTCmd cmd, const char *buf, int len) { char hbuf[512];