X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=aac_afh.c;h=f6b869810889cdd47680daaf8c5ef920e810203f;hb=57a8d22ad5e81dc815390685ae5f83c0f16156e7;hp=3129824dbe0f721ebbe2566f06dcfca3c0f9b934;hpb=0b814bdbb7a3fe018cffee0162dc6c916cfa6879;p=paraslash.git diff --git a/aac_afh.c b/aac_afh.c index 3129824d..f6b86981 100644 --- a/aac_afh.c +++ b/aac_afh.c @@ -92,8 +92,8 @@ static int read_chunk_table(FILE *file, struct audio_format_info *afi, 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; } @@ -116,7 +116,8 @@ static long unsigned aac_set_chunk_tv(struct audio_format_info *afi, /* * 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; @@ -179,7 +180,11 @@ out: } static const char* aac_suffixes[] = {"m4a", "mp4", NULL}; -/** the init function of the aac audio format handler */ +/** + * the init function of the aac audio format handler + * + * \param afh pointer to the struct to initialize + */ void aac_afh_init(struct audio_format_handler *afh) { afh->get_file_info = aac_get_file_info,