summaryrefslogtreecommitdiff
path: root/apps/codecs/libffmpegFLAC/shndec.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2010-07-15 17:15:20 +0000
committerNils Wallménius <nils@rockbox.org>2010-07-15 17:15:20 +0000
commit74063845c0a6602fd9ccfc038165b15a587eb656 (patch)
tree87c6724f98b0776d22e04c299b3e8409a98a88e5 /apps/codecs/libffmpegFLAC/shndec.c
parentb9e7c18dda82fb92c5e506b2e83a70132604e73b (diff)
downloadrockbox-74063845c0a6602fd9ccfc038165b15a587eb656.tar.gz
rockbox-74063845c0a6602fd9ccfc038165b15a587eb656.zip
Properly fix warning by copying the swap16 and swap32 inline functions from system.h to mips/ingenic_jz47xx/system-target.h to replace the defines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27433 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libffmpegFLAC/shndec.c')
-rw-r--r--apps/codecs/libffmpegFLAC/shndec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libffmpegFLAC/shndec.c b/apps/codecs/libffmpegFLAC/shndec.c
index db7984488d..b107b356d7 100644
--- a/apps/codecs/libffmpegFLAC/shndec.c
+++ b/apps/codecs/libffmpegFLAC/shndec.c
@@ -423,7 +423,7 @@ int shorten_init(ShortenContext* s, uint8_t *buf, int buf_size)
423 get_bits(&s->gb, s->bitindex); 423 get_bits(&s->gb, s->bitindex);
424 424
425 /* shorten signature */ 425 /* shorten signature */
426 if ((unsigned)get_bits_long(&s->gb, 32) != bswap_32(ff_get_fourcc("ajkg"))) { 426 if (get_bits_long(&s->gb, 32) != bswap_32(ff_get_fourcc("ajkg"))) {
427 return -1; 427 return -1;
428 } 428 }
429 429