X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=aac_afh.c;h=58e238572eb89c1d233491fe1ef426e6b012af9f;hp=cd374c818709e6a520910b7c58cc55df5071a2e9;hb=be6c2a6c1f1e722d5163811d070131d345b58e66;hpb=a4a2f9112b1ffb54f0c677523cc8e6a0e384d751 diff --git a/aac_afh.c b/aac_afh.c index cd374c81..58e23857 100644 --- a/aac_afh.c +++ b/aac_afh.c @@ -33,7 +33,6 @@ /** size of the input buffer, must be big enough to hold header */ #define AAC_INBUF_SIZE 65536 -static struct audio_format_handler *af; static FILE *infile; static unsigned char *inbuf; static size_t inbuf_len; @@ -188,8 +187,7 @@ static const char* aac_suffixes[] = {"m4a", "mp4", NULL}; /** the init function of the aac audio format handler */ void aac_afh_init(struct audio_format_handler *p) { - af = p; - af->get_file_info = aac_get_file_info, - af->close_audio_file = aac_close_audio_file; - af->suffixes = aac_suffixes; + p->get_file_info = aac_get_file_info, + p->close_audio_file = aac_close_audio_file; + p->suffixes = aac_suffixes; }