mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 11:51:57 +00:00
for #738, remove test code
This commit is contained in:
parent
733ba73d54
commit
733252dc21
1 changed files with 0 additions and 5 deletions
|
@ -3508,11 +3508,6 @@ int SrsMp4Decoder::read_sample(SrsMp4HandlerType* pht,
|
||||||
*ppts = ps->pts_ms();
|
*ppts = ps->pts_ms();
|
||||||
*pft = ps->frame_type;
|
*pft = ps->frame_type;
|
||||||
|
|
||||||
if (ps->type == SrsCodecFlvTagAudio) {
|
|
||||||
*pdts = ps->dts_ms() + 34;
|
|
||||||
*ppts = ps->pts_ms() + 34;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Read sample from io, for we never preload the samples(too large).
|
// Read sample from io, for we never preload the samples(too large).
|
||||||
if (ps->offset != current_offset) {
|
if (ps->offset != current_offset) {
|
||||||
if ((ret = rsio->lseek(ps->offset, SEEK_SET, ¤t_offset)) != ERROR_SUCCESS) {
|
if ((ret = rsio->lseek(ps->offset, SEEK_SET, ¤t_offset)) != ERROR_SUCCESS) {
|
||||||
|
|
Loading…
Reference in a new issue