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

for bug #143, build on centos5.

This commit is contained in:
winlin 2014-08-02 22:18:39 +08:00
parent 84450e1588
commit 7b24788445
118 changed files with 123 additions and 24 deletions

View file

@ -102,3 +102,4 @@ int SrsBuffer::grow(ISrsBufferReader* reader, int required_size)
return ret;
}

View file

@ -91,4 +91,4 @@ public:
virtual int grow(ISrsBufferReader* reader, int required_size);
};
#endif
#endif

View file

@ -115,3 +115,4 @@ bool SrsFlvCodec::audio_is_aac(char* data, int size)
return sound_format == SrsCodecAudioAAC;
}

View file

@ -177,4 +177,4 @@ public:
static bool audio_is_aac(char* data, int size);
};
#endif
#endif

View file

@ -23,3 +23,4 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <srs_kernel_consts.hpp>

View file

@ -263,3 +263,4 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define SRS_CONSTS_HTTP_HTTPVersionNotSupported_str "HTTP Version Not Supported"
#endif

View file

@ -35,3 +35,4 @@ bool srs_is_client_gracefully_close(int error_code)
|| error_code == ERROR_SOCKET_READ_FULLY
|| error_code == ERROR_SOCKET_WRITE;
}

View file

@ -202,3 +202,4 @@ extern bool srs_is_client_gracefully_close(int error_code);
*/
#endif

View file

@ -212,3 +212,4 @@ int SrsFileReader::read(void* buf, size_t count, ssize_t* pnread)
return ret;
}

View file

@ -91,3 +91,4 @@ public:
};
#endif

View file

@ -525,3 +525,4 @@ int SrsFlvVodStreamDecoder::lseek(int64_t offset)
return ret;
}

View file

@ -175,3 +175,4 @@ public:
};
#endif

View file

@ -75,3 +75,4 @@ int ISrsThreadContext::get_id()
return 0;
}

View file

@ -150,3 +150,4 @@ extern ISrsThreadContext* _srs_context;
#endif
#endif

View file

@ -252,3 +252,4 @@ void SrsStream::write_bytes(char* data, int size)
p += size;
}

View file

@ -154,4 +154,4 @@ public:
virtual void write_bytes(char* data, int size);
};
#endif
#endif

View file

@ -215,3 +215,4 @@ bool srs_string_ends_with(string str, string flag)
{
return str.rfind(flag) == str.length() - flag.length();
}

View file

@ -60,3 +60,4 @@ extern std::string srs_string_remove(std::string str, std::string remove_chars);
extern bool srs_string_ends_with(std::string str, std::string flag);
#endif