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:
parent
84450e1588
commit
7b24788445
118 changed files with 123 additions and 24 deletions
|
@ -102,3 +102,4 @@ int SrsBuffer::grow(ISrsBufferReader* reader, int required_size)
|
|||
return ret;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -91,4 +91,4 @@ public:
|
|||
virtual int grow(ISrsBufferReader* reader, int required_size);
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -115,3 +115,4 @@ bool SrsFlvCodec::audio_is_aac(char* data, int size)
|
|||
|
||||
return sound_format == SrsCodecAudioAAC;
|
||||
}
|
||||
|
||||
|
|
|
@ -177,4 +177,4 @@ public:
|
|||
static bool audio_is_aac(char* data, int size);
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -23,3 +23,4 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
#include <srs_kernel_consts.hpp>
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -35,3 +35,4 @@ bool srs_is_client_gracefully_close(int error_code)
|
|||
|| error_code == ERROR_SOCKET_READ_FULLY
|
||||
|| error_code == ERROR_SOCKET_WRITE;
|
||||
}
|
||||
|
||||
|
|
|
@ -202,3 +202,4 @@ extern bool srs_is_client_gracefully_close(int error_code);
|
|||
*/
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -212,3 +212,4 @@ int SrsFileReader::read(void* buf, size_t count, ssize_t* pnread)
|
|||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -91,3 +91,4 @@ public:
|
|||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -525,3 +525,4 @@ int SrsFlvVodStreamDecoder::lseek(int64_t offset)
|
|||
return ret;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -175,3 +175,4 @@ public:
|
|||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -75,3 +75,4 @@ int ISrsThreadContext::get_id()
|
|||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -150,3 +150,4 @@ extern ISrsThreadContext* _srs_context;
|
|||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -252,3 +252,4 @@ void SrsStream::write_bytes(char* data, int size)
|
|||
p += size;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -154,4 +154,4 @@ public:
|
|||
virtual void write_bytes(char* data, int size);
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -215,3 +215,4 @@ bool srs_string_ends_with(string str, string flag)
|
|||
{
|
||||
return str.rfind(flag) == str.length() - flag.length();
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue