aboutsummaryrefslogtreecommitdiffstats
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>2013-03-10 13:45:43 +0100
commitb9ec4414b5ee4128a58f863fa290ca14bfb39db6 (patch)
treeed671be5576653d3c9ccea38a433b785aafeeb28 /libavcodec/vc1data.c
parent5dbb3298b9c1d7beb41c7d3ab19f86d6e027e43d (diff)
downloadffmpeg-b9ec4414b5ee4128a58f863fa290ca14bfb39db6.tar.gz
vc1: Move init code shared between decoder and parser to common code file.
This fixes standalone compilation of the VC-1 parser. (cherry picked from commit 3c715383ea7012ac69507e6b9189c98675c77461) Conflicts: libavcodec/vc1data.h Signed-off-by: Diego Biurrun <diego@biurrun.de>
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 e1e2cbf6f5..e0baf947fe 100644
--- a/libavcodec/vc1data.c
+++ b/libavcodec/vc1data.c
@@ -1129,3 +1129,7 @@ const uint16_t 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
+};