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

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

Merge "Remove null-ptr deref compiler warning."

am: b4d217ed

Change-Id: Iaa009b250224afa46e7220c44054ae1755d897bd
parents f02844c4 b4d217ed
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;
                    }