aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/bitstream.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-05-30 19:48:02 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-05-30 19:48:02 +0000
commitccc54864fef9afed00a32c0fc1394a78cf6e971e (patch)
tree34551d4108e0de41995119dbd4587fc55fa2c1dc /libavcodec/bitstream.h
parent27f19ed5015f8a83411987e208d87b03af89d11c (diff)
downloadffmpeg-ccc54864fef9afed00a32c0fc1394a78cf6e971e.tar.gz
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
Diffstat (limited to 'libavcodec/bitstream.h')
-rw-r--r--libavcodec/bitstream.h3
1 files changed, 2 insertions, 1 deletions
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);
/**