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

Commit fb1290cb 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: If4951c2370dfa4a9c2e208a60a58607d9e6fc247
parents 3d16755d 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);