]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - mp3_afh.c
make get_file_info() return the chunk table
[paraslash.git] / mp3_afh.c
index 6850cbd83b8f8bee770aafb43a4ee984af5d7956..398a334e0f51668e2a8acfc11b5f68e7051352bb 100644 (file)
--- a/mp3_afh.c
+++ b/mp3_afh.c
@@ -441,7 +441,7 @@ err_out:
  * Read mp3 information from audio file
  */
 static int mp3_get_file_info(FILE *audio_file, char *info_str,
-       long unsigned *frames, int *seconds)
+       long unsigned *frames, int *seconds, size_t **vss_chunk_table)
 {
        int ret;
 
@@ -456,6 +456,7 @@ static int mp3_get_file_info(FILE *audio_file, char *info_str,
        write_info_str(info_str);
        *frames = num_chunks;
        *seconds = mp3.seconds;
+       *vss_chunk_table = chunk_table;
        if (*seconds < 2 || !*frames)
                return -E_MP3_INFO;
        return 1;