X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=aac_afh.c;h=55efeefa1d7dc1b067e23da06294a7fb222e9304;hp=5ace47e5762749a6f0efff37398932ec168a92d7;hb=f6c929d9e580bb1f2666236b16de1e3fe73878d3;hpb=8855876934399489bbc4c8e31db642ced698265c;ds=sidebyside diff --git a/aac_afh.c b/aac_afh.c index 5ace47e5..55efeefa 100644 --- a/aac_afh.c +++ b/aac_afh.c @@ -37,7 +37,7 @@ static FILE *infile; static int inbuf_size; static unsigned char *inbuf; static size_t inbuf_len; -struct audio_format *af; +struct audio_format_handler *af; static size_t num_chunks; static size_t entry; @@ -233,6 +233,7 @@ static char *aac_read_chunk(long unsigned current_chunk, ssize_t *len) return (char *)inbuf; } +static const char* aac_suffixes[] = {"m4a", NULL}; /** the init function of the aac audio format handler */ void aac_afh_init(void *p) { @@ -245,4 +246,5 @@ void aac_afh_init(void *p) af->chunk_tv.tv_sec = 0; af->chunk_tv.tv_usec = 23120; tv_scale(3, &af->chunk_tv, &af->eof_tv); + af->suffixes = aac_suffixes; }