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

Commit 50b8acd4 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "aacdec: fix error handling" into rvc-dev

parents ae87d21c 56bb7ed6
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);