Don't try to free shared ff_sine_* tables pointed to by s->windows[]
authorRobert Swain <robert.swain@gmail.com>
Fri, 15 Aug 2008 10:31:11 +0000 (10:31 +0000)
committerRobert Swain <robert.swain@gmail.com>
Fri, 15 Aug 2008 10:31:11 +0000 (10:31 +0000)
Originally committed as revision 14775 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/wma.c

index 423852b..6c7e14b 100644 (file)
@@ -366,8 +366,6 @@ int ff_wma_end(AVCodecContext *avctx)
 
     for(i = 0; i < s->nb_block_sizes; i++)
         ff_mdct_end(&s->mdct_ctx[i]);
 
     for(i = 0; i < s->nb_block_sizes; i++)
         ff_mdct_end(&s->mdct_ctx[i]);
-    for(i = 0; i < s->nb_block_sizes; i++)
-        av_free(s->windows[i]);
 
     if (s->use_exp_vlc) {
         free_vlc(&s->exp_vlc);
 
     if (s->use_exp_vlc) {
         free_vlc(&s->exp_vlc);