mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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% Originally committed as revision 9198 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a45ec41409
commit
c11aac6cda
@ -197,11 +197,13 @@ static int ir2_decode_init(AVCodecContext *avctx){
|
|||||||
avctx->pix_fmt= PIX_FMT_YUV410P;
|
avctx->pix_fmt= PIX_FMT_YUV410P;
|
||||||
|
|
||||||
if (!ir2_vlc.table)
|
if (!ir2_vlc.table)
|
||||||
|
#ifdef ALT_BITSTREAM_READER_LE
|
||||||
init_vlc(&ir2_vlc, CODE_VLC_BITS, IR2_CODES,
|
init_vlc(&ir2_vlc, CODE_VLC_BITS, IR2_CODES,
|
||||||
&ir2_codes[0][1], 4, 2,
|
&ir2_codes[0][1], 4, 2,
|
||||||
#ifdef ALT_BITSTREAM_READER_LE
|
|
||||||
&ir2_codes[0][0], 4, 2, INIT_VLC_USE_STATIC | INIT_VLC_LE);
|
&ir2_codes[0][0], 4, 2, INIT_VLC_USE_STATIC | INIT_VLC_LE);
|
||||||
#else
|
#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);
|
&ir2_codes[0][0], 4, 2, INIT_VLC_USE_STATIC);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user