mirror of https://bitbucket.org/ausocean/av.git
Correcting syntax error in c code
This commit is contained in:
parent
e6aefb2e65
commit
2316eea04c
|
@ -65,7 +65,7 @@ unsigned int RTMP_start_session(char* url, uint connect_timeout){
|
|||
}
|
||||
|
||||
unsigned int RTMP_write_frame(char* data, uint data_length){
|
||||
dataForC = malloc(data_length);
|
||||
char* dataForC = malloc(data_length);
|
||||
memcpy(dataForC,data,data_length);
|
||||
if (!RTMP_IsConnected(rtmp)) {
|
||||
printf("RTMP is not connected!\n");
|
||||
|
|
Loading…
Reference in New Issue