X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=aac_afh.c;h=bcd2a14edfd8de64baaca165f17ae855490e8cc9;hp=d3e694548a3dbfaf08e40eb5cd8ba01bc10af7cf;hb=032d743d782e23604daa926c8e153ad4a75797be;hpb=642445e95fea1c548c79f80ad3b5d6f30ba572f3 diff --git a/aac_afh.c b/aac_afh.c index d3e69454..bcd2a14e 100644 --- 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 *