Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0075debd authored by Jaesung Chung's avatar Jaesung Chung
Browse files

Fixing build breakage due to removal of numPacketsParsed

Change-Id: Ia888b5865691a3b916aceff064a9b25b3118e2b0
parent 4a98dab6
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -196,8 +196,7 @@ void MPEG2TSExtractor::init() {
        int64_t durationUs = -1;
        List<int64_t> durations;
        // Estimate duration --- stabilize until you get <500ms deviation.
        for (; feedMore() == OK && numPacketsParsed <= 10000;
                ++numPacketsParsed) {
        while (feedMore() == OK && ALooper::GetNowUs() - startTime <= 2000000ll) {
            status_t err;
            int64_t bufferedDurationUs = impl->getBufferedDurationUs(&err);
            if (err != OK) {