summaryrefslogtreecommitdiff
path: root/codec.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-07-19 13:50:36 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-07-19 13:50:36 +0200
commite89e2345859798fa596e01bd9460a63c92785f49 (patch)
treebf1f0c36b9ded842a43e6fb09a764dce9ce0311b /codec.h
parentb41446ad033a52ed24176f9ba01362e3648e97ee (diff)
better format checking before adding to playlist,
more file types supported, bad files are skipped when attempted to be played
Diffstat (limited to 'codec.h')
-rw-r--r--codec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/codec.h b/codec.h
index fc8e4870..9554f0a2 100644
--- a/codec.h
+++ b/codec.h
@@ -19,6 +19,7 @@ typedef struct codec_s {
int (*read) (char *bytes, int size);
int (*seek) (float time);
int (*add) (const char *fname);
+ const char ** (*getexts) (void);
} codec_t;
codec_t *get_codec_for_file (const char *fname);