comparison indeo2.c @ 5096:1210710a6c6a libavcodec

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%
author gpoirier
date Mon, 04 Jun 2007 11:03:24 +0000
parents a96d905dcbaa
children 2b72f9bc4f06
comparison
equal deleted inserted replaced
5095:ed41cfae128d 5096:1210710a6c6a
195 ic->avctx = avctx; 195 ic->avctx = avctx;
196 196
197 avctx->pix_fmt= PIX_FMT_YUV410P; 197 avctx->pix_fmt= PIX_FMT_YUV410P;
198 198
199 if (!ir2_vlc.table) 199 if (!ir2_vlc.table)
200 #ifdef ALT_BITSTREAM_READER_LE
200 init_vlc(&ir2_vlc, CODE_VLC_BITS, IR2_CODES, 201 init_vlc(&ir2_vlc, CODE_VLC_BITS, IR2_CODES,
201 &ir2_codes[0][1], 4, 2, 202 &ir2_codes[0][1], 4, 2,
202 #ifdef ALT_BITSTREAM_READER_LE
203 &ir2_codes[0][0], 4, 2, INIT_VLC_USE_STATIC | INIT_VLC_LE); 203 &ir2_codes[0][0], 4, 2, INIT_VLC_USE_STATIC | INIT_VLC_LE);
204 #else 204 #else
205 init_vlc(&ir2_vlc, CODE_VLC_BITS, IR2_CODES,
206 &ir2_codes[0][1], 4, 2,
205 &ir2_codes[0][0], 4, 2, INIT_VLC_USE_STATIC); 207 &ir2_codes[0][0], 4, 2, INIT_VLC_USE_STATIC);
206 #endif 208 #endif
207 209
208 return 0; 210 return 0;
209 } 211 }