Merge "CCodec: ignore input buffer done callbacks before flush" am: d7484800a4 am: 67916361c9 am: 29ce7a5877 am: 21087377d4

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

Change-Id: Ic58b949e5a3aadd32ff6b4a7d68195ee8c25e20d