Mercurial > libavcodec.hg
comparison mpegvideo.h @ 2370:26560d4fdb1f libavcodec
Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>)
author | michael |
---|---|
date | Sat, 27 Nov 2004 18:10:06 +0000 |
parents | 5e5cf598a48b |
children | 3daf36fd1999 |
comparison
equal
deleted
inserted
replaced
2369:ce47b1d51cb1 | 2370:26560d4fdb1f |
---|---|
839 int8_t *max_run[2]; ///< encoding & decoding | 839 int8_t *max_run[2]; ///< encoding & decoding |
840 VLC vlc; ///< decoding only deprected FIXME remove | 840 VLC vlc; ///< decoding only deprected FIXME remove |
841 RL_VLC_ELEM *rl_vlc[32]; ///< decoding only | 841 RL_VLC_ELEM *rl_vlc[32]; ///< decoding only |
842 } RLTable; | 842 } RLTable; |
843 | 843 |
844 void init_rl(RLTable *rl); | 844 void init_rl(RLTable *rl, int use_static); |
845 void init_vlc_rl(RLTable *rl); | 845 void init_vlc_rl(RLTable *rl, int use_static); |
846 | 846 |
847 static inline int get_rl_index(const RLTable *rl, int last, int run, int level) | 847 static inline int get_rl_index(const RLTable *rl, int last, int run, int level) |
848 { | 848 { |
849 int index; | 849 int index; |
850 index = rl->index_run[last][run]; | 850 index = rl->index_run[last][run]; |