summaryrefslogtreecommitdiff
path: root/libavcodec/dvdec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-04-04 17:13:13 +0200
committerDiego Biurrun <diego@biurrun.de>2012-04-16 10:04:56 +0200
commit05afc5f57d19ab403f4c798b5a479ae016a2307c (patch)
treeb1217fe1f52136f4fdeb509e7252b2dd0963e904 /libavcodec/dvdec.c
parentaff01de6415f1ba022f1a58e354ad6e4d0796e97 (diff)
dv: Move static tables only used in one place to where they are used.
Diffstat (limited to 'libavcodec/dvdec.c')
-rw-r--r--libavcodec/dvdec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/dvdec.c b/libavcodec/dvdec.c
index 8f52959e0c..582574b14d 100644
--- a/libavcodec/dvdec.c
+++ b/libavcodec/dvdec.c
@@ -54,6 +54,8 @@ typedef struct BlockInfo {
int shift_offset;
} BlockInfo;
+static const int dv_iweight_bits = 14;
+
/* decode AC coefficients */
static void dv_decode_ac(GetBitContext *gb, BlockInfo *mb, DCTELEM *block)
{