From ccc54864fef9afed00a32c0fc1394a78cf6e971e Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 30 May 2008 19:48:02 +0000 Subject: Make init_vlc* support proper static tables instead of this broken beyond imagination alloc_static() trash. Originally committed as revision 13561 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/bitstream.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavcodec/bitstream.h') diff --git a/libavcodec/bitstream.h b/libavcodec/bitstream.h index 68b9cf6e3d..8d2d795d7c 100644 --- a/libavcodec/bitstream.h +++ b/libavcodec/bitstream.h @@ -800,8 +800,9 @@ int init_vlc_sparse(VLC *vlc, int nb_bits, int nb_codes, const void *codes, int codes_wrap, int codes_size, const void *symbols, int symbols_wrap, int symbols_size, int flags); -#define INIT_VLC_USE_STATIC 1 +#define INIT_VLC_USE_STATIC 1 ///< VERY strongly deprecated and forbidden #define INIT_VLC_LE 2 +#define INIT_VLC_USE_NEW_STATIC 4 void free_vlc(VLC *vlc); /** -- cgit v1.2.3