mirror of
https://github.com/androidx/media.git
synced 2025-05-07 15:40:37 +08:00

The native code can now reallocate the buffer if it needs to grow
its size, so we have to reacquire a reference in the Java code to
avoid accessing a stale instance.
This fixes a bug introduced by 8750ed8de6
.
PiperOrigin-RevId: 578799862