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

Commit f5ba22b8 authored by Caroline Tice's avatar Caroline Tice Committed by android-build-merger
Browse files

Merge "Remove null-ptr deref compiler warning." am: b4d217ed

am: 1095908b

Change-Id: Ie4ee8c1462415b89c96e3a6ade42fa60c6a67a1a
parents c6239b0d 1095908b
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1018,7 +1018,9 @@ status_t MPEG4Extractor::parseChunk(off64_t *offset, int depth) {
                        while (cur && cur->next != mLastTrack) {
                            cur = cur->next;
                        }
                        if (cur) {
                            cur->next = NULL;
                        }
                        delete mLastTrack;
                        mLastTrack = cur;
                    }