aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dca.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-04-11 11:47:15 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-04-11 11:47:15 +0000
commite161e007be2ca2df1e560470f94d4038dd841d67 (patch)
tree73cf9b3fae73613fc191ece675b43847530c59aa /libavcodec/dca.c
parent46e97dc3c2281954fabe273c9e05f458ea2599e4 (diff)
downloadffmpeg-e161e007be2ca2df1e560470f94d4038dd841d67.tar.gz
Use INIT_VLC_USE_STATIC and not its value "1".
Originally committed as revision 18430 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dca.c')
-rw-r--r--libavcodec/dca.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/dca.c b/libavcodec/dca.c
index 8dfec8e9a9..4b57242657 100644
--- a/libavcodec/dca.c
+++ b/libavcodec/dca.c
@@ -264,19 +264,19 @@ static av_cold void dca_init_vlcs(void)
for (i = 0; i < 5; i++)
init_vlc(&dca_bitalloc_index.vlc[i], bitalloc_12_vlc_bits[i], 12,
bitalloc_12_bits[i], 1, 1,
- bitalloc_12_codes[i], 2, 2, 1);
+ bitalloc_12_codes[i], 2, 2, INIT_VLC_USE_STATIC);
dca_scalefactor.offset = -64;
dca_scalefactor.wrap = 2;
for (i = 0; i < 5; i++)
init_vlc(&dca_scalefactor.vlc[i], SCALES_VLC_BITS, 129,
scales_bits[i], 1, 1,
- scales_codes[i], 2, 2, 1);
+ scales_codes[i], 2, 2, INIT_VLC_USE_STATIC);
dca_tmode.offset = 0;
dca_tmode.wrap = 1;
for (i = 0; i < 4; i++)
init_vlc(&dca_tmode.vlc[i], tmode_vlc_bits[i], 4,
tmode_bits[i], 1, 1,
- tmode_codes[i], 2, 2, 1);
+ tmode_codes[i], 2, 2, INIT_VLC_USE_STATIC);
for(i = 0; i < 10; i++)
for(j = 0; j < 7; j++){
@@ -286,7 +286,7 @@ static av_cold void dca_init_vlcs(void)
init_vlc(&dca_smpl_bitalloc[i+1].vlc[j], bitalloc_maxbits[i][j],
bitalloc_sizes[i],
bitalloc_bits[i][j], 1, 1,
- bitalloc_codes[i][j], 2, 2, 1);
+ bitalloc_codes[i][j], 2, 2, INIT_VLC_USE_STATIC);
}
vlcs_initialized = 1;
}