diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-08-31 14:05:49 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-09-02 19:20:27 +0200 |
commit | 2ca78936c7d4862100b7eb9b4c6097b063d495c8 (patch) | |
tree | af3e195d60ac34b0533132dd38ecb472ba8bf06f /libavcodec/rl.h | |
parent | 2c43cfe2d4051c14c18d904c830d4f0a2b1dbef1 (diff) | |
download | ffmpeg-2ca78936c7d4862100b7eb9b4c6097b063d495c8.tar.gz |
rl.h: remove deprecated and now unused vlc member.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec/rl.h')
-rw-r--r-- | libavcodec/rl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/rl.h b/libavcodec/rl.h index c80283db7f..3cef366251 100644 --- a/libavcodec/rl.h +++ b/libavcodec/rl.h @@ -44,7 +44,6 @@ typedef struct RLTable { uint8_t *index_run[2]; ///< encoding only int8_t *max_level[2]; ///< encoding & decoding int8_t *max_run[2]; ///< encoding & decoding - VLC vlc; ///< decoding only deprecated FIXME remove RL_VLC_ELEM *rl_vlc[32]; ///< decoding only } RLTable; @@ -54,13 +53,14 @@ typedef struct RLTable { * the level and run tables, if this is NULL av_malloc() will be used */ void ff_init_rl(RLTable *rl, uint8_t static_store[2][2*MAX_RUN + MAX_LEVEL + 3]); -void ff_init_vlc_rl(RLTable *rl); +void ff_init_vlc_rl(RLTable *rl, const VLC *vlc); #define INIT_VLC_RL(rl, static_size)\ {\ int q;\ static RL_VLC_ELEM rl_vlc_table[32][static_size];\ - INIT_VLC_STATIC(&rl.vlc, 9, rl.n + 1,\ + VLC tmp_vlc;\ + INIT_VLC_STATIC(&tmp_vlc, 9, rl.n + 1,\ &rl.table_vlc[0][1], 4, 2,\ &rl.table_vlc[0][0], 4, 2, static_size);\ \ @@ -68,7 +68,7 @@ void ff_init_vlc_rl(RLTable *rl); for(q=0; q<32; q++)\ rl.rl_vlc[q]= rl_vlc_table[q];\ \ - ff_init_vlc_rl(&rl);\ + ff_init_vlc_rl(&rl, &tmp_vlc);\ }\ } |