summaryrefslogtreecommitdiff
path: root/deadbeef.h
diff options
context:
space:
mode:
Diffstat (limited to 'deadbeef.h')
-rw-r--r--deadbeef.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/deadbeef.h b/deadbeef.h
index 723ee64f..23e05961 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -565,8 +565,11 @@ typedef struct DB_fileinfo_s {
// decoder plugin
typedef struct DB_decoder_s {
DB_plugin_t plugin;
+
+ DB_fileinfo_t *(*open) (void);
+
// init is called to prepare song to be started
- DB_fileinfo_t *(*init) (DB_playItem_t *it);
+ int (*init) (DB_fileinfo_t *info, DB_playItem_t *it);
// free is called after decoding is finished
void (*free) (DB_fileinfo_t *info);