Skip to content

Commit

Permalink
for #738, remove test code
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Feb 5, 2017
1 parent 733ba73 commit 733252d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions trunk/src/kernel/srs_kernel_mp4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 733252d

Please sign in to comment.