projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
random/mysql selector: make it find m4a files
[paraslash.git]
/
mp3.c
diff --git
a/mp3.c
b/mp3.c
index b9b21a94de7db52f680bb90e788778fa8e74d1e6..bac84b6f9ca0e8b0677f7fec691bb42084dff760 100644
(file)
--- a/
mp3.c
+++ b/
mp3.c
@@
-481,6
+481,7
@@
static void mp3_close_audio_file(void)
mp3.file = NULL;
}
+static const char* mp3_suffixes[] = {"mp3", NULL};
void mp3_init(void *p)
{
af = p;
@@
-492,4
+493,5
@@
void mp3_init(void *p)
/* eof_tv gets overwritten in mp3_get_file_info() */
af->eof_tv.tv_sec = 0;
af->eof_tv.tv_usec = 100 * 1000;
+ af->suffixes = mp3_suffixes;
}