Commit 2686a393 authored by gpoirier's avatar gpoirier

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%


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9198 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b70dfbc0
......@@ -197,11 +197,13 @@ static int ir2_decode_init(AVCodecContext *avctx){
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment