]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - mp3_afh.c
Keep the audio file open when mmapping.
[paraslash.git] / mp3_afh.c
index 927620748d19c0c0949d8e596aa2e4ca34ba6b98..f3f95d486daff1799d23d390557d68775a7135c7 100644 (file)
--- a/mp3_afh.c
+++ b/mp3_afh.c
@@ -373,7 +373,7 @@ err_out:
 /*
  * Read mp3 information from audio file
  */
-static 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;