Loading media/extractors/aac/AACExtractor.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -288,6 +288,10 @@ status_t AACSource::read( if (options && options->getSeekTo(&seekTimeUs, &mode)) { if (mFrameDurationUs > 0) { int64_t seekFrame = seekTimeUs / mFrameDurationUs; if (seekFrame < 0 || seekFrame >= (int64_t)mOffsetVector.size()) { android_errorWriteLog(0x534e4554, "70239507"); return ERROR_MALFORMED; } mCurrentTimeUs = seekFrame * mFrameDurationUs; mOffset = mOffsetVector.itemAt(seekFrame); Loading Loading
media/extractors/aac/AACExtractor.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -288,6 +288,10 @@ status_t AACSource::read( if (options && options->getSeekTo(&seekTimeUs, &mode)) { if (mFrameDurationUs > 0) { int64_t seekFrame = seekTimeUs / mFrameDurationUs; if (seekFrame < 0 || seekFrame >= (int64_t)mOffsetVector.size()) { android_errorWriteLog(0x534e4554, "70239507"); return ERROR_MALFORMED; } mCurrentTimeUs = seekFrame * mFrameDurationUs; mOffset = mOffsetVector.itemAt(seekFrame); Loading