| 1 | --- mplayer/libavcodec/indeo2.c.orig 2007-05-25 18:37:39.000000000 +0200
|
|---|
| 2 | +++ mplayer/libavcodec/indeo2.c 2007-05-25 18:39:29.000000000 +0200
|
|---|
| 3 | @@ -197,12 +197,14 @@ static int ir2_decode_init(AVCodecContex
|
|---|
| 4 | avctx->pix_fmt= PIX_FMT_YUV410P;
|
|---|
| 5 |
|
|---|
| 6 | if (!ir2_vlc.table)
|
|---|
| 7 | - init_vlc(&ir2_vlc, CODE_VLC_BITS, IR2_CODES,
|
|---|
| 8 | + init_vlc_sparse(&ir2_vlc, CODE_VLC_BITS, IR2_CODES,
|
|---|
| 9 | &ir2_codes[0][1], 4, 2,
|
|---|
| 10 | #ifdef ALT_BITSTREAM_READER_LE
|
|---|
| 11 | - &ir2_codes[0][0], 4, 2, INIT_VLC_USE_STATIC | INIT_VLC_LE);
|
|---|
| 12 | + &ir2_codes[0][0], 4, 2,
|
|---|
| 13 | + NULL, 0, 0, INIT_VLC_USE_STATIC | INIT_VLC_LE);
|
|---|
| 14 | #else
|
|---|
| 15 | - &ir2_codes[0][0], 4, 2, INIT_VLC_USE_STATIC);
|
|---|
| 16 | + &ir2_codes[0][0], 4, 2,
|
|---|
| 17 | + NULL, 0, 0, INIT_VLC_USE_STATIC);
|
|---|
| 18 | #endif
|
|---|
| 19 |
|
|---|
| 20 | return 0;
|
|---|