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

move codec to kernel.

This commit is contained in:
winlin 2014-05-28 17:37:15 +08:00
parent 608083d42f
commit 4970664e37
13 changed files with 116 additions and 19 deletions

View file

@ -167,6 +167,8 @@ int srs_flv_read_tag_header(srs_flv_t flv, char* ptype, int32_t* pdata_size, u_i
int srs_flv_read_tag_data(srs_flv_t flv, char* data, int32_t size);
/* file stream tellg to get offset */
int64_t srs_flv_tellg(srs_flv_t flv);
/* seek file stream, offset is form the start of file */
void srs_flv_lseek(srs_flv_t flv, int64_t offset);
/* whether the error code indicates EOF */
flv_bool srs_flv_is_eof(int error_code);