mirror of https://bitbucket.org/ausocean/av.git
Scratch that, it looks fine
This commit is contained in:
parent
510f431b90
commit
c7930e2cbe
|
@ -135,11 +135,11 @@ static void HandleServerBW(RTMP *r, const RTMPPacket *packet);
|
||||||
static void HandleClientBW(RTMP *r, const RTMPPacket *packet);
|
static void HandleClientBW(RTMP *r, const RTMPPacket *packet);
|
||||||
|
|
||||||
static int ReadN(RTMP *r, char *buffer, int n);
|
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 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 int HTTP_read(RTMP *r, int fill);
|
||||||
|
|
||||||
static void CloseInternal(RTMP *r, int reconnect);
|
static void CloseInternal(RTMP *r, int reconnect);
|
||||||
|
@ -1498,7 +1498,7 @@ ReadN(RTMP *r, char *buffer, int n)
|
||||||
return nOriginalSize - n;
|
return nOriginalSize - n;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
int
|
||||||
WriteN(RTMP *r, const char *buffer, int n)
|
WriteN(RTMP *r, const char *buffer, int n)
|
||||||
{
|
{
|
||||||
const char *ptr = buffer;
|
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);
|
AV_erase(r->m_methodCalls, &r->m_numCalls, i, freeit);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
void
|
||||||
AV_queue(RTMP_METHOD **vals, int *num, AVal *av, int txn)
|
AV_queue(RTMP_METHOD **vals, int *num, AVal *av, int txn)
|
||||||
{
|
{
|
||||||
char *tmp;
|
char *tmp;
|
||||||
|
@ -3533,7 +3533,7 @@ DecodeInt32LE(const char *data)
|
||||||
return val;
|
return val;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
int
|
||||||
EncodeInt32LE(char *output, int nVal)
|
EncodeInt32LE(char *output, int nVal)
|
||||||
{
|
{
|
||||||
output[0] = nVal;
|
output[0] = nVal;
|
||||||
|
@ -4403,7 +4403,7 @@ DecodeTEA(AVal *key, AVal *text)
|
||||||
free(out);
|
free(out);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
int
|
||||||
HTTP_Post(RTMP *r, RTMPTCmd cmd, const char *buf, int len)
|
HTTP_Post(RTMP *r, RTMPTCmd cmd, const char *buf, int len)
|
||||||
{
|
{
|
||||||
char hbuf[512];
|
char hbuf[512];
|
||||||
|
|
Loading…
Reference in New Issue