From 293983475fdab9755884098685ecaa1cdd558ce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Tue, 10 Apr 2007 12:19:42 +0200 Subject: Use ME_FOURCC rather than having two declarations for wvpk_signature. --- src/combined/combined_wavpack.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/combined/combined_wavpack.h b/src/combined/combined_wavpack.h index b7bf32acb..aa57820b5 100644 --- a/src/combined/combined_wavpack.h +++ b/src/combined/combined_wavpack.h @@ -39,11 +39,7 @@ typedef struct { uint32_t decoded_crc32; /* CRC32 of the decoded data */ } __attribute__((packed)) wvheader_t; -#ifdef WORDS_BIGENDIAN -static const uint32_t wvpk_signature = ('k' + ('p' << 8) + ('v' << 16) + ('w' << 24)); -#else -static const uint32_t wvpk_signature = ('w' + ('v' << 8) + ('p' << 16) + ('k' << 24)); -#endif +static const uint32_t wvpk_signature = ME_FOURCC('w', 'v', 'p', 'k') void *demux_wv_init_plugin (xine_t *const xine, void *const data); void *decoder_wavpack_init_plugin (xine_t *xine, void *data); -- cgit v1.2.3