summaryrefslogtreecommitdiffstats
path: root/libavcodec/rv34vlc.h
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-06-25 08:19:20 +0000
committerMåns Rullgård <mans@mansr.com>2010-06-25 08:19:20 +0000
commit9bfb72d9e9e1dba3478e6ff2d2e25c16fe01cf7a (patch)
treee7ab3af3028aeab850adf37f3889c6d7b541767d /libavcodec/rv34vlc.h
parentc47f567c701d49f26b514a7156ccc594b18c788b (diff)
downloadffmpeg-streaming-9bfb72d9e9e1dba3478e6ff2d2e25c16fe01cf7a.zip
ffmpeg-streaming-9bfb72d9e9e1dba3478e6ff2d2e25c16fe01cf7a.tar.gz
rv34: kill VLAs
Originally committed as revision 23774 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rv34vlc.h')
-rw-r--r--libavcodec/rv34vlc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/rv34vlc.h b/libavcodec/rv34vlc.h
index 2b89e4c..aa29357 100644
--- a/libavcodec/rv34vlc.h
+++ b/libavcodec/rv34vlc.h
@@ -37,6 +37,7 @@
#define FIRSTBLK_VLC_SIZE 864
#define OTHERBLK_VLC_SIZE 108
#define COEFF_VLC_SIZE 32
+#define MAX_VLC_SIZE 1296
static const uint8_t rv34_table_intra_cbppat[NUM_INTRA_TABLES][2][CBPPAT_VLC_SIZE] = {
{
OpenPOWER on IntegriCloud