]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - aac_afh.c
gcrypt: Fix a few format-signedness issues.
[paraslash.git] / aac_afh.c
index d3e694548a3dbfaf08e40eb5cd8ba01bc10af7cf..bcd2a14edfd8de64baaca165f17ae855490e8cc9 100644 (file)
--- a/aac_afh.c
+++ b/aac_afh.c
@@ -33,11 +33,11 @@ static int aac_find_stsz(unsigned char *buf, size_t buflen, off_t *skip)
                PARA_DEBUG_LOG("found stsz@%d\n", i);
                i += 8;
                sample_size = aac_read_int32(buf + i);
-               PARA_DEBUG_LOG("sample size: %d\n", sample_size);
+               PARA_DEBUG_LOG("sample size: %u\n", sample_size);
                i += 4;
                sample_count = aac_read_int32(buf + i);
                i += 4;
-               PARA_DEBUG_LOG("sample count: %d\n", sample_count);
+               PARA_DEBUG_LOG("sample count: %u\n", sample_count);
                *skip = i;
                return sample_count;
        }
@@ -317,7 +317,7 @@ close:
        return ret;
 }
 
-static const char* aac_suffixes[] = {"m4a", "mp4", NULL};
+static const char * const aac_suffixes[] = {"m4a", "mp4", NULL};
 /**
  * the init function of the aac audio format handler
  *