OSDN Git Service

Two INIT_VLC_USE_STATIC cases Carl missed.
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 11 Apr 2009 14:16:30 +0000 (14:16 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 11 Apr 2009 14:16:30 +0000 (14:16 +0000)
Originally committed as revision 18438 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/intrax8.c
libavcodec/svq1dec.c

index 2ae57d9..177b60f 100644 (file)
@@ -66,7 +66,7 @@ static av_cold void x8_vlc_init(void){
         DC_VLC_BITS,34, \
         &src[1],4,2, \
         &src[0],4,2, \
-        1);
+        INIT_VLC_USE_STATIC);
     for(i=0;i<8;i++){
         init_dc_vlc( j_dc_vlc[0][i], x8_dc_highquant_table[i][0]);
         init_dc_vlc( j_dc_vlc[1][i], x8_dc_lowquant_table [i][0]);
index c45ef97..f31b69f 100644 (file)
@@ -786,7 +786,7 @@ static av_cold int svq1_decode_init(AVCodecContext *avctx)
 
     init_vlc(&svq1_motion_component, 7, 33,
         &mvtab[0][1], 2, 1,
-        &mvtab[0][0], 2, 1, 1);
+        &mvtab[0][0], 2, 1, INIT_VLC_USE_STATIC);
 
     for (i = 0; i < 6; i++) {
         init_vlc(&svq1_intra_multistage[i], 3, 8,