]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - mp3_afh.c
Keep the audio file open when mmapping.
[paraslash.git] / mp3_afh.c
index b8d3f5a9d3f44678c39bc4d0e0239c9a69ffa949..f3f95d486daff1799d23d390557d68775a7135c7 100644 (file)
--- a/mp3_afh.c
+++ b/mp3_afh.c
@@ -373,7 +373,7 @@ err_out:
 /*
  * Read mp3 information from audio file
  */
-int mp3_get_file_info(char *map, size_t numbytes,
+static int mp3_get_file_info(char *map, size_t numbytes, int fd,
                struct afh_info *afhi)
 {
        int ret;