I've tried a new way in sceAac module which not use callback function of ffmpeg at all, and it works well during my test in Fortix. https://github.com/hrydgard/ppsspp/pull/5836
Have a look, if this way is better, we can use the same code to sceMp3.