]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - aac_afh.c
make get_file_info() return the chunk table
[paraslash.git] / aac_afh.c
index e5ee2eef9520ea57631a6b6f112434de87ffee29..b017a83231bc010ed19536c80c916523ef321458 100644 (file)
--- a/aac_afh.c
+++ b/aac_afh.c
@@ -136,7 +136,7 @@ static long unsigned aac_set_chunk_tv(mp4AudioSpecificConfig *mp4ASC)
  * Init m4a file and write some tech data to given pointers.
  */
 static int aac_get_file_info(FILE *file, char *info_str, long unsigned *frames,
-       int *seconds)
+       int *seconds, size_t **vss_chunk_table)
 {
        int i, ret, decoder_len;
        size_t skip;
@@ -172,6 +172,7 @@ static int aac_get_file_info(FILE *file, char *info_str, long unsigned *frames,
                return ret;
        *frames = num_chunks;
        *seconds = aac_set_chunk_tv(&mp4ASC);
+       *vss_chunk_table = chunk_table;
        for (;;) {
                ret = aac_find_entry_point(inbuf, inbuf_len, &skip);
                if (ret >= 0)