Fix Segv on unknown address error flagged by fuzzer test. am: d5c9058168

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

Change-Id: I7d2e66b87352beb27709aec20c0f1e7dc8c5700a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>