SimpleDecodingSource:Prevent OOB write in heap mem am: f3590a1b18 am: b240660c2e am: 247199f370 am: e3f218d634 am: 2708f51a28 am: efc5d1676f am: ec6411dfde

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

Change-Id: Ia925c282983eca8054c7b8e193117df597317ba2