summaryrefslogtreecommitdiff
path: root/libavcodec/vc1data.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-03-06 18:59:03 +0100
committerDiego Biurrun <diego@biurrun.de>2012-03-07 09:36:04 +0100
commit3c715383ea7012ac69507e6b9189c98675c77461 (patch)
tree18a2fae995b859ae6008ff95b24bc42ccfb6ae92 /libavcodec/vc1data.c
parent1e9d55e45ef238bce914e2207fc88a15e051ded1 (diff)
vc1: Move init code shared between decoder and parser to common code file.
This fixes standalone compilation of the VC-1 parser.
Diffstat (limited to 'libavcodec/vc1data.c')
-rw-r--r--libavcodec/vc1data.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/vc1data.c b/libavcodec/vc1data.c
index 1bb4c8a4d8..41d8ab9fd1 100644
--- a/libavcodec/vc1data.c
+++ b/libavcodec/vc1data.c
@@ -1129,3 +1129,7 @@ const uint16_t ff_vc1_b_field_mvpred_scales[7][4] = {
{ 26, 17, 12, 10 }, // ZONE1OFFSET_X
{ 7, 4, 3, 3 } // ZONE1OFFSET_Y
};
+
+const int ff_vc1_ac_sizes[AC_MODES] = {
+ 186, 169, 133, 149, 103, 103, 163, 175
+};