X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fmodules%2Fswfsound.c;h=428faec304c4c3aaa42436bbc5a485da1565ecb7;hb=f15fe2d281b70a736152debc7c3ee49d40e755ca;hp=dec1fe9fe0a90fb23eca0d29e8ca87e3e2a86661;hpb=d6156a349c63b5fb77a6bd0160aef54cb3b13cdb;p=swftools.git diff --git a/lib/modules/swfsound.c b/lib/modules/swfsound.c index dec1fe9..428faec 100644 --- a/lib/modules/swfsound.c +++ b/lib/modules/swfsound.c @@ -7,9 +7,19 @@ Copyright (c) 2001, 2002 Matthias Kramm - This file is distributed under the GPL, see file COPYING for details + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. -*/ + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef RFXSWF_DISABLESOUND @@ -143,7 +153,7 @@ void swf_SetSoundStreamBlock(TAG*tag, S16*samples, int seek, char first) int len = 0; int bufsize = 16384; int numsamples = 576*(swf_mp3_in_samplerate/swf_mp3_out_samplerate); - int fs; + int fs = 0; buf = malloc(bufsize); if(!buf)