aacenc: use the correct output buffer