1
0
Fork 0
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:
winlin 2017-02-05 09:23:38 +08:00
parent 733ba73d54
commit 733252dc21

View file

@ -3508,11 +3508,6 @@ int SrsMp4Decoder::read_sample(SrsMp4HandlerType* pht,
*ppts = ps->pts_ms();
*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).
if (ps->offset != current_offset) {
if ((ret = rsio->lseek(ps->offset, SEEK_SET, &current_offset)) != ERROR_SUCCESS) {