Keep the audio file open when mmapping.
[paraslash.git] / ogg_afh.c
index b57e0bddc55bc4ef623387e9c2c1bb15a2d7a443..2b934ddd1de9438039cee7990101ad6064e8e5b0 100644 (file)
--- a/ogg_afh.c
+++ b/ogg_afh.c
@@ -238,7 +238,7 @@ static long unsigned ogg_compute_chunk_table(OggVorbis_File *of,
 /*
  * Init oggvorbis file and write some tech data to given pointers.
  */
-static int ogg_get_file_info(char *map, size_t numbytes,
+static int ogg_get_file_info(char *map, size_t numbytes, __a_unused int fd,
                struct afh_info *afhi)
 {
        int ret;