|
|
|
@ -154,11 +154,11 @@ status_t AACWriter::reset() {
|
|
|
|
|
mDone = true;
|
|
|
|
|
|
|
|
|
|
void *dummy;
|
|
|
|
|
status_t status = mSource->stop();
|
|
|
|
|
pthread_join(mThread, &dummy);
|
|
|
|
|
|
|
|
|
|
status_t err = static_cast<status_t>(reinterpret_cast<uintptr_t>(dummy));
|
|
|
|
|
{
|
|
|
|
|
status_t status = mSource->stop();
|
|
|
|
|
if (err == OK &&
|
|
|
|
|
(status != OK && status != ERROR_END_OF_STREAM)) {
|
|
|
|
|
err = status;
|
|
|
|
|