Mercurial > audlegacy-plugins
diff src/flac/plugin.c @ 97:a19f24790f3c trunk
[svn] It compiles now.
| author | chainsaw |
|---|---|
| date | Sat, 21 Oct 2006 18:02:01 -0700 |
| parents | 63bde7ca7ad0 |
| children |
line wrap: on
line diff
--- a/src/flac/plugin.c Sat Oct 21 09:21:12 2006 -0700 +++ b/src/flac/plugin.c Sat Oct 21 18:02:01 2006 -0700 @@ -88,7 +88,7 @@ static void *play_loop_(void *arg); -static FLAC__bool safe_decoder_init_(const char *filename, FLAC__StreamDecoder *decoder); +static FLAC__bool safe_decoder_init_(char *filename, FLAC__StreamDecoder *decoder); static void safe_decoder_finish_(FLAC__StreamDecoder *decoder); static void safe_decoder_delete_(FLAC__StreamDecoder *decoder); @@ -186,6 +186,7 @@ { ConfigDb *db; FLAC__uint32 test = 1; + gchar *tmp; is_big_endian_host_ = (*((FLAC__byte*)(&test)))? false : true; @@ -572,7 +573,7 @@ return 0; /* to silence the compiler warning about not returning a value */ } -FLAC__bool safe_decoder_init_(const char *filename, FLAC__StreamDecoder *decoder) +FLAC__bool safe_decoder_init_(char *filename, FLAC__StreamDecoder *decoder) { if(decoder == 0) return false;
