* We can not consume directly what was copied by the read callback
* because we might need to feed unconsumend bytes to the decoder again
* after the read callback ran out of data and returned ABORT. So we
- * track how many bytes are unconsumed so far.
+ * track how many bytes have been fed to libflac but are unconsumed so far.
*/
size_t unconsumed;
};
f->open = flacdec_open;
f->close = flacdec_close;
f->pre_select = flacdec_pre_select;
- f->new_post_select = flacdec_post_select;
+ f->post_select = flacdec_post_select;
f->execute = flacdec_execute;
}