audio: Fix regression of libfaad. [1/1]
PD#SWPL-172603
Problem:
Fix regression issues with coverity changes: sending main and ad data
to the faad decoder at the same time, which causes decoding confusion.
Solution:
Static variables make functions non-reentrant,
delete static variables and use heap variables instead;
This is a supplement to the following cl:
https://scgit.amlogic.com/#/c/453144.
Verify:
t5w.
Change-Id: Iabb446e06aee41825cf60151c3b8862e28e29eda
Signed-off-by: yuliang.hu <yuliang.hu@amlogic.com>
10 files changed