added decoder_seek_where() and decoder_seek_error()

Provide access to seeking for the decoder plugins; they have to know
where to seek, and they need a way to tell us that seeking has failed.
This commit is contained in:
Max Kellermann
2008-08-26 08:27:07 +02:00
parent 78c55e2432
commit 17e9cc84c5
12 changed files with 60 additions and 42 deletions

View File

@@ -112,6 +112,10 @@ enum decoder_command decoder_get_command(struct decoder * decoder);
*/
void decoder_command_finished(struct decoder * decoder);
double decoder_seek_where(struct decoder * decoder);
void decoder_seek_error(struct decoder * decoder);
/**
* This function is called by the decoder plugin when it has
* successfully decoded block of input data.