summaryrefslogtreecommitdiff
path: root/apps/codecs
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs')
-rw-r--r--apps/codecs/libatrac/atrac3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libatrac/atrac3.c b/apps/codecs/libatrac/atrac3.c
index 2f4d44b6af..ad57ad6237 100644
--- a/apps/codecs/libatrac/atrac3.c
+++ b/apps/codecs/libatrac/atrac3.c
@@ -1079,7 +1079,7 @@ int atrac3_decode_frame(unsigned long block_align, ATRAC3Context *q,
1079 int result = 0, off = 0; 1079 int result = 0, off = 0;
1080 const uint8_t* databuf; 1080 const uint8_t* databuf;
1081 1081
1082 if (buf_size < block_align) 1082 if ((unsigned)buf_size < block_align)
1083 return buf_size; 1083 return buf_size;
1084 1084
1085 /* Check if we need to descramble and what buffer to pass on. */ 1085 /* Check if we need to descramble and what buffer to pass on. */