diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-07-19 13:50:36 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-07-19 13:50:36 +0200 |
commit | e89e2345859798fa596e01bd9460a63c92785f49 (patch) | |
tree | bf1f0c36b9ded842a43e6fb09a764dce9ce0311b /codec.h | |
parent | b41446ad033a52ed24176f9ba01362e3648e97ee (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |