sum += aac_read_int32(inbuf + skip);
afi->chunk_table[i] = sum;
skip += 4;
- if (i < 10 || i + 10 > afi->chunks_total)
- PARA_DEBUG_LOG("offset #%d: %zu\n", i, afi->chunk_table[i]);
+// if (i < 10 || i + 10 > afi->chunks_total)
+// PARA_DEBUG_LOG("offset #%d: %zu\n", i, afi->chunk_table[i]);
}
return 1;
}
/*
* Init m4a file and write some tech data to given pointers.
*/
-static int aac_get_file_info(FILE *file, struct audio_format_info *afi)
+static int aac_get_file_info(FILE *file, char *map, off_t numbytes,
+ struct audio_format_info *afi)
{
int i, ret, decoder_len;
size_t inbuf_len, skip;