X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=afh.c;h=69b834d2c507fa5944dc3871838d555b4317115b;hb=25ca76ec354120efa561879f50c486340e14d0ca;hp=4955b3cfea12e6e7abf93b672d4501cb1e46ca85;hpb=764e71ceb1e188086c08e38dfd52d45b67dc15ba;p=paraslash.git diff --git a/afh.c b/afh.c index 4955b3cf..69b834d2 100644 --- a/afh.c +++ b/afh.c @@ -1,8 +1,4 @@ -/* - * Copyright (C) 2008 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* Copyright (C) 2008 Andre Noll , see file COPYING. */ /** \file afh.c Paraslash's standalone audio format handler tool. */ @@ -20,7 +16,7 @@ /** Array of error strings. */ DEFINE_PARA_ERRLIST; -struct lls_parse_result *lpr; +static struct lls_parse_result *lpr; #define CMD_PTR (lls_cmd(0, afh_suite)) #define OPT_RESULT(_name) (lls_opt_result(LSG_AFH_PARA_AFH_OPT_ ## _name, lpr)) @@ -207,7 +203,6 @@ int main(int argc, char **argv) loglevel = OPT_UINT32_VAL(LOGLEVEL); version_handle_flag("afh", OPT_GIVEN(VERSION)); handle_help_flags(); - afh_init(); for (i = 0; i < lls_num_inputs(lpr); i++) { int ret2; const char *path = lls_input(i, lpr);