X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=opus_afh.c;h=64eeb03c1a4bd89bb64488495ed5d76c3ca322e9;hp=ace83008d60db987cfa3350a13d5dc40d365819f;hb=74592ed100009a2d73e03861ae9626363f06aca9;hpb=642445e95fea1c548c79f80ad3b5d6f30ba572f3 diff --git a/opus_afh.c b/opus_afh.c index ace83008..64eeb03c 100644 --- a/opus_afh.c +++ b/opus_afh.c @@ -17,7 +17,7 @@ #include "opus_common.h" #include "ogg_afh_common.h" -static const char* opus_suffixes[] = {"opus", NULL}; +static const char * const opus_suffixes[] = {"opus", NULL}; #define OPUS_COMMENT_HEADER "OpusTags" @@ -55,7 +55,7 @@ static int opus_get_comments(char *comments, int length, p += 4; if (p + ntags * 4 > end) return -E_OPUS_COMMENT; - PARA_INFO_LOG("found %d tag(s)\n", ntags); + PARA_INFO_LOG("found %u tag(s)\n", ntags); for (i = 0; i < ntags; i++, p += val) { char *tag; @@ -96,7 +96,8 @@ static int opus_packet_callback(ogg_packet *packet, int packet_num, if (ret < 0) return ret; afhi->channels = oh->channels; - afhi->techinfo = make_message("header version %d, input sample rate: %dHz", + afhi->techinfo = make_message( + "header version %d, input sample rate: %" PRIu32 "Hz", oh->version, oh->input_sample_rate); /* * The input sample rate is irrelevant for afhi->frequency as