Prevent read of uninitialized memory am: f8c7ecf656

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib35442c36a9aa638c5550236be409bc7359fafff