Rename struct audio format to audio_format_handler
[paraslash.git] / oggdec.c
index 714d620e7adb06a414e5eba3a0d3fe55cef476b8..3554eb1b8ff3c6135d47e21c88e5abfd480b0dc5 100644 (file)
--- a/oggdec.c
+++ b/oggdec.c
@@ -61,7 +61,7 @@ static size_t cb_read(void *buf, size_t size, size_t nmemb, void *datasource)
                errno = EAGAIN;
                return -1;
        }
-       ret = MIN(nmemb, have / size) * size;
+       ret = PARA_MIN(nmemb, have / size) * size;
        memcpy(buf, p, ret);
        pod->converted += ret;
        return ret;
@@ -72,13 +72,13 @@ static size_t cb_read(void *buf, size_t size, size_t nmemb, void *datasource)
  * Since we want the data source to be treated as unseekable at all
  * times, the provided seek callback always returns -1 (failure).
  */
-static int cb_seek(__unused void *datasource, __unused ogg_int64_t offset,
-               __unused int whence)
+static int cb_seek(__a_unused void *datasource, __a_unused ogg_int64_t offset,
+               __a_unused int whence)
 {
        return -1;
 }
 
-static int cb_close(__unused void *datasource)
+static int cb_close(__a_unused void *datasource)
 {
        return 0;
 }