From 2c9f24cd50973dd2b69395fb284ca2e8981f93c2 Mon Sep 17 00:00:00 2001 From: kramm Date: Wed, 12 Oct 2005 18:32:45 +0000 Subject: [PATCH] moved wav.h to ../lib --- src/swfc.c | 2 +- src/wav2swf.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 1.7.10.4