# HG changeset patch # User gpoirier # Date 1180955004 0 # Node ID 1210710a6c6a933a2bd66dc749d45f8f9612a826 # Parent ed41cfae128d1629661fd4ed766a7d2cbfb7a84a fix error: indeo2.c:202:1: directives may not be used inside a macro argument, introduced when init_vlc was turned into a macro Patch by Christian Lohmaier %cloph A openoffice P org% diff -r ed41cfae128d -r 1210710a6c6a indeo2.c --- a/indeo2.c Mon Jun 04 07:28:34 2007 +0000 +++ b/indeo2.c Mon Jun 04 11:03:24 2007 +0000 @@ -197,11 +197,13 @@ avctx->pix_fmt= PIX_FMT_YUV410P; if (!ir2_vlc.table) +#ifdef ALT_BITSTREAM_READER_LE init_vlc(&ir2_vlc, CODE_VLC_BITS, IR2_CODES, &ir2_codes[0][1], 4, 2, -#ifdef ALT_BITSTREAM_READER_LE &ir2_codes[0][0], 4, 2, INIT_VLC_USE_STATIC | INIT_VLC_LE); #else + init_vlc(&ir2_vlc, CODE_VLC_BITS, IR2_CODES, + &ir2_codes[0][1], 4, 2, &ir2_codes[0][0], 4, 2, INIT_VLC_USE_STATIC); #endif