mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #738, use reader and seeker for mp4 demuxer to seek for general mp4(ftyp-mdat-moov).
This commit is contained in:
parent
bbee16e4db
commit
9d21a8bb33
16 changed files with 237 additions and 101 deletions
|
@ -1755,7 +1755,7 @@ int64_t srs_flv_tellg(srs_flv_t flv)
|
|||
void srs_flv_lseek(srs_flv_t flv, int64_t offset)
|
||||
{
|
||||
FlvContext* context = (FlvContext*)flv;
|
||||
context->reader.lseek(offset);
|
||||
context->reader.seek2(offset);
|
||||
}
|
||||
|
||||
srs_bool srs_flv_is_eof(int error_code)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue