OSDN Git Service

10l, audio_fifo is a static array
authorAlex Beregszaszi <alex@rtfs.hu>
Tue, 6 Mar 2007 18:19:31 +0000 (18:19 +0000)
committerAlex Beregszaszi <alex@rtfs.hu>
Tue, 6 Mar 2007 18:19:31 +0000 (18:19 +0000)
Originally committed as revision 8273 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/swf.c

index e2b8594..654a367 100644 (file)
@@ -387,7 +387,6 @@ static int swf_write_header(AVFormatContext *s)
         default:
             /* not supported */
             av_log(s, AV_LOG_ERROR, "swf doesnt support that sample rate, choose from (44100, 22050, 11025)\n");
-            av_free(swf->audio_fifo);
             return -1;
         }
         v |= 0x02; /* 16 bit playback */