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

Commit 8b5c4214 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "aacdec: fix error handling" into rvc-dev am: 50b8acd4

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/12002255

Change-Id: I748bd410ccc5f2d80c48f065644428ac7721db13
parents bb863920 50b8acd4
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -791,7 +791,6 @@ void C2SoftAacDec::process(

                // After an error, replace bufferSize with the sum of the
                // decodedSizes to resynchronize the in/out lists.
                inInfo.decodedSizes.pop_back();
                inInfo.bufferSize = std::accumulate(
                        inInfo.decodedSizes.begin(), inInfo.decodedSizes.end(), 0);