fixed bug in jpeg2000 decoding
[swftools.git] / lib / wav.h
index 466098f..8f25326 100644 (file)
--- a/lib/wav.h
+++ b/lib/wav.h
@@ -19,8 +19,8 @@ struct WAV {
     unsigned int size;
 };
 
-int wav_read(char* filename, struct WAV*wav);
-int wav_write(char*filename, struct WAV*wav);
+int wav_read(struct WAV*wav, const char* filename);
+int wav_write(struct WAV*wav, const char*filename);
 void wav_print(struct WAV*wav);
 int wav_convert2mono(struct WAV*src, struct WAV*dest, int rate);