]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - oggdec.c
error.h: move E_BAD_USER from audiod_command to command error list
[paraslash.git] / oggdec.c
index e1c4517ec94e3cda5e5ba92d86485ec47666aef6..82ac9b43884675cbffcd9f79bf2cadd9c38e8a56 100644 (file)
--- a/oggdec.c
+++ b/oggdec.c
 
 /** \cond some internal constants */
 #define BITS 16
+#ifdef WORDS_BIGENDIAN
+#define ENDIAN 1
+#else
 #define ENDIAN 0
+#endif
 #define SIGN 1
 /** \endcond */
 
@@ -135,8 +139,8 @@ static ssize_t ogg_convert(char *inbuffer, size_t len, struct filter_node *fn)
        if (!pod->vf) {
                int ib = 1024 * conf->initial_buffer_arg; /* initial buffer */
                if (len <ib && !*fn->fc->input_eof) {
-                       PARA_INFO_LOG("initial input buffer %zd/%d, waiting for more data\n",
-                               len, ib);
+                       PARA_DEBUG_LOG("initial input buffer %zd/%d, "
+                               "waiting for more data\n", len, ib);
                        return 0;
                }
                pod->vf = para_malloc(sizeof(struct OggVorbis_File));