1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

fix bug of ingest for android, init the variable to 0

This commit is contained in:
winlin 2014-04-19 12:47:16 +08:00
parent e0e033d847
commit c530a8e5fc
5 changed files with 83 additions and 25 deletions

View file

@ -29,13 +29,7 @@ gcc srs_ingest_rtmp.c ../../objs/lib/srs_librtmp.a -g -O0 -lstdc++ -o srs_ingest
#include <unistd.h>
#include "../../objs/include/srs_librtmp.h"
#define trace(msg, ...) printf(msg, ##__VA_ARGS__);printf("\n")
#define verbose(msg, ...) printf(msg, ##__VA_ARGS__);printf("\n")
#if 1
#undef verbose
#define verbose(msg, ...) (void)0
#endif
#include "srs_research_public.h"
int connect_ic(srs_rtmp_t irtmp);
int connect_oc(srs_rtmp_t ortmp);