ret = -E_AACDEC_INIT;
if (NeAACDecInit2(padd->handle, p,
padd->decoder_length, &rate,
- &channels) < 0)
+ &channels) != 0)
goto out;
}
padd->sample_rate = rate;
f->open = aacdec_open;
f->close = aacdec_close;
f->pre_select = generic_filter_pre_select;
- f->new_post_select = aacdec_post_select;
- f->post_select = NULL;
+ f->post_select = aacdec_post_select;
f->execute = aacdec_execute;
}