Skip to content

Commit

Permalink
Merge pull request #27 from lawder/confilict
Browse files Browse the repository at this point in the history
solve var name conflict
  • Loading branch information
hzwangsiyu authored Dec 20, 2016
2 parents c6b8117 + f7219f5 commit 9e602fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Pod/Classes/pili-librtmp/rtmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ void PILI_RTMP_UpdateBufferMS(PILI_RTMP *r, RTMPError *error) {
#endif
#define DEF_VERSTR OSS " 10,0,32,18"
static const char DEFAULT_FLASH_VER[] = DEF_VERSTR;
const PILI_AVal RTMP_DefaultFlashVer =
const PILI_AVal PILI_RTMP_DefaultFlashVer =
{(char *)DEFAULT_FLASH_VER, sizeof(DEFAULT_FLASH_VER) - 1};

void PILI_RTMP_SetupStream(PILI_RTMP *r,
Expand Down Expand Up @@ -395,7 +395,7 @@ void PILI_RTMP_SetupStream(PILI_RTMP *r,
if (flashVer && flashVer->av_len)
r->Link.flashVer = *flashVer;
else
r->Link.flashVer = RTMP_DefaultFlashVer;
r->Link.flashVer = PILI_RTMP_DefaultFlashVer;
if (subscribepath && subscribepath->av_len)
r->Link.subscribepath = *subscribepath;
r->Link.seekTime = dStart;
Expand Down

0 comments on commit 9e602fc

Please sign in to comment.