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

Commit 7215694e authored by Robert Shih's avatar Robert Shih Committed by android-build-merger
Browse files

NuPlayerDecoder: initialize dropAccessUnit to true

am: 59e9ca73

Change-Id: Ie2a5b8df219582bbc4900e586c7df19ce877d4e4
parents d8d4f9ad 59e9ca73
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -754,7 +754,7 @@ bool NuPlayer::Decoder::isStaleReply(const sp<AMessage> &msg) {

status_t NuPlayer::Decoder::fetchInputData(sp<AMessage> &reply) {
    sp<ABuffer> accessUnit;
    bool dropAccessUnit;
    bool dropAccessUnit = true;
    do {
        status_t err = mSource->dequeueAccessUnit(mIsAudio, &accessUnit);