frameworks/av: Fix to handle corrupted AAC clips
- AAC decoder was returning SUCCESS by default unless the state is changed to ERROR. - For some cases, where the clip is corrupted, it will return SUCCESS even though it has not decoded anything. - Fixed this by initializing the state to -1. Change-Id: I0ddd2608216320bd4943f0fb8e03d300865a2362
Loading
Please register or sign in to comment