From: kramm Date: Wed, 12 Oct 2005 18:32:45 +0000 (+0000) Subject: moved wav.h to ../lib X-Git-Tag: xpdf-3-01~42 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=2c9f24cd50973dd2b69395fb284ca2e8981f93c2;p=swftools.git moved wav.h to ../lib --- diff --git a/src/swfc.c b/src/swfc.c index 4313903..131c794 100644 --- a/src/swfc.c +++ b/src/swfc.c @@ -1209,7 +1209,7 @@ void s_sound(char*name, char*filename) unsigned blocksize = 1152; int is_mp3 = 0; - if(wav_read(&wav, filename)) { + if(wav_read(filename, &wav)) { int t; wav_convert2mono(&wav, &wav2, 44100); samples = (U16*)wav2.data; diff --git a/src/wav2swf.c b/src/wav2swf.c index 153f8f1..73d5258 100644 --- a/src/wav2swf.c +++ b/src/wav2swf.c @@ -227,7 +227,7 @@ int main (int argc,char ** argv) exit(1); } - if(!wav_read(&wav, filename)) + if(!wav_read(filename, &wav)) { msg(" Error reading %s", filename); exit(1);