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

Commit f8a57f19 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

am: f5ba22b8

Change-Id: If77f4cfe54e96f7658b001eb3e15b15ce8fb6ac6
parents d0868fbf f5ba22b8
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;
                    }