Revert "fix compress filter for big endian machines"
[paraslash.git] / filter.h
index 06d727f5fe79488951d7a539b9bcd735e9fdce17..321d763c1f9cb5b743db1cbbbf3f95f2f68774cb 100644 (file)
--- a/filter.h
+++ b/filter.h
@@ -299,20 +299,6 @@ void (*print_help)(void);
  */
 void *(*parse_config)(int argc, char **argv);
 };
-
-
-static inline void write_int16_host_endian(char *buf, int16_t val)
-{
-#ifndef BIGENDIAN
-       *buf = val >> 8;
-       *(buf + 1) = val & 0xff;
-#else
-       *buf = val & 0xff;
-       *(buf + 1) = val >> 8;
-#endif
-}
-
-
 /** \cond */
 extern struct filter filters[];
 #define DECLARE_EXTERN_FILTER_INIT(name) \
@@ -362,5 +348,3 @@ DECLARE_EXTERN_FILTER_INIT(oggdec);
        AACDEC_FILTER \
        OGGDEC_FILTER \
        { .name = NULL } };
-
-