aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dv.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-11-10 17:23:31 +0100
committerDiego Biurrun <diego@biurrun.de>2013-12-02 13:13:09 +0100
commit21710ea82118c9d19bea9277b2a85a33096fdd95 (patch)
tree8ee7e7aafa4a35d4e5d2bac8e77327474c21de46 /libavcodec/dv.c
parent5a9fcc7d2524d6c0f86b2855019ee9f4cf360276 (diff)
downloadffmpeg-21710ea82118c9d19bea9277b2a85a33096fdd95.tar.gz
dv: Move DV VLC data tables out of header file
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r--libavcodec/dv.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index 4f1a149e7d..41aa931b5b 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -255,20 +255,20 @@ av_cold int ff_dvvideo_init(AVCodecContext *avctx)
/* it's faster to include sign bit in a generic VLC parsing scheme */
for (i = 0, j = 0; i < NB_DV_VLC; i++, j++) {
- new_dv_vlc_bits[j] = dv_vlc_bits[i];
- new_dv_vlc_len[j] = dv_vlc_len[i];
- new_dv_vlc_run[j] = dv_vlc_run[i];
- new_dv_vlc_level[j] = dv_vlc_level[i];
+ new_dv_vlc_bits[j] = ff_dv_vlc_bits[i];
+ new_dv_vlc_len[j] = ff_dv_vlc_len[i];
+ new_dv_vlc_run[j] = ff_dv_vlc_run[i];
+ new_dv_vlc_level[j] = ff_dv_vlc_level[i];
- if (dv_vlc_level[i]) {
+ if (ff_dv_vlc_level[i]) {
new_dv_vlc_bits[j] <<= 1;
new_dv_vlc_len[j]++;
j++;
- new_dv_vlc_bits[j] = (dv_vlc_bits[i] << 1) | 1;
- new_dv_vlc_len[j] = dv_vlc_len[i] + 1;
- new_dv_vlc_run[j] = dv_vlc_run[i];
- new_dv_vlc_level[j] = -dv_vlc_level[i];
+ new_dv_vlc_bits[j] = (ff_dv_vlc_bits[i] << 1) | 1;
+ new_dv_vlc_len[j] = ff_dv_vlc_len[i] + 1;
+ new_dv_vlc_run[j] = ff_dv_vlc_run[i];
+ new_dv_vlc_level[j] = -ff_dv_vlc_level[i];
}
}