Revision 13c2469d

View differences:

configure
938 938
EOF
939 939

  
940 940
builtin_vector=no
941
if $cc -o $TMPO $TMPC 2> /dev/null ; then
941
if $cc -msse -o $TMPO $TMPC 2> /dev/null ; then
942 942
  builtin_vector=yes
943 943
fi
944 944

  
libavcodec/vorbis.c
155 155
    av_freep(&vc->channel_floors);
156 156
    av_freep(&vc->saved);
157 157
    av_freep(&vc->ret);
158
    av_freep(&vc->buf);
159
    av_freep(&vc->buf_tmp);
158 160

  
159 161
    av_freep(&vc->residues);
160 162
    av_freep(&vc->modes);
......
759 761
    vc->channel_floors=(float *)av_malloc((vc->blocksize_1/2)*vc->audio_channels * sizeof(float));
760 762
    vc->saved=(float *)av_malloc((vc->blocksize_1/2)*vc->audio_channels * sizeof(float));
761 763
    vc->ret=(float *)av_malloc((vc->blocksize_1/2)*vc->audio_channels * sizeof(float));
764
    vc->buf=(float *)av_malloc(vc->blocksize_1 * sizeof(float));
765
    vc->buf_tmp=(float *)av_malloc(vc->blocksize_1 * sizeof(float));
762 766
    vc->saved_start=0;
763 767

  
764 768
    ff_mdct_init(&vc->mdct0, bl0, 1);
......
1327 1331
        float *ret=vc->ret;
1328 1332
        const float *lwin=vc->lwin;
1329 1333
        const float *swin=vc->swin;
1330
        float buf[blocksize];
1331
        float buf_tmp[blocksize];
1334
        float *buf=vc->buf;
1335
        float *buf_tmp=vc->buf_tmp;
1332 1336

  
1333 1337
        ch_floor_ptr=vc->channel_floors+j*blocksize/2;
1334 1338

  
libavcodec/vorbis.h
88 88
    float *saved;
89 89
    uint_fast16_t saved_start;
90 90
    float *ret;
91
    float *buf;
92
    float *buf_tmp;
91 93
} vorbis_context;
92 94

  
93 95

  

Also available in: Unified diff