/*
- * Copyright (C) 2006-2013 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2014 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
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 = aacdec_post_select;
f->execute = aacdec_execute;
}