Opened 13 years ago

Closed 13 years ago

#832 closed defect (fixed)

r9117 breaks compilation of indeo2.c

Reported by: mplayer-bugs@… Owned by: mans@…
Priority: normal Component: libavcodec
Version: unspecified Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:


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.

Attachments (1)

patch.vlc (808 bytes) - added by mplayer-bugs@… 13 years ago.
compile fix for indeo2.c/vlc_init

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by mplayer-bugs@…

compile fix for indeo2.c/vlc_init

comment:1 Changed 13 years ago by mplayer-bugs@…

comment:2 Changed 13 years ago by mplayer-bugs@…

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r9198.

Note: See TracTickets for help on using tickets.