Opened 17 years ago
Closed 17 years ago
#832 closed defect (fixed)
r9117 breaks compilation of indeo2.c
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | libavcodec |
Version: | unspecified | Severity: | normal |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
gcc 3.2 doesn't like the way the init_vlc macro introduced in r9117 interacts with the call in indeo2.c:
indeo2.c:202:1: directives may not be used inside a macro argument
indeo2.c:201:40: unterminated argument list invoking macro "init_vlc"
indeo2.c: In function `ir2_decode_init':
indeo2.c:203: `init_vlc' undeclared (first use in this function)
indeo2.c:203: (Each undeclared identifier is reported only once
indeo2.c:203: for each function it appears in.)
indeo2.c:203: parse error before ')' token
make[1]: * [indeo2.o] Error 1
The trivial fix is replacing the call to init_vls in indeo2.c to init_vla_sparse and adding the appropriate parameters like the macro would do.
compile fix for indeo2.c/vlc_init