Browse Source

vorbisdec: Employ proper printf format specifiers for uint_fast32_t.

libavcodec/vorbisdec.c:543: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘uint_fast32_t’
libavcodec/vorbisdec.c:543: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘uint_fast32_t’
tags/n0.8
Diego Biurrun 15 years ago
parent
commit
2441003d3f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/vorbisdec.c

+ 1
- 1
libavcodec/vorbisdec.c View File

@@ -539,7 +539,7 @@ static int vorbis_parse_setup_hdr_floors(vorbis_context *vc)
rangemax = (1 << rangebits);
if (rangemax > vc->blocksize[1] / 2) {
av_log(vc->avccontext, AV_LOG_ERROR,
"Floor value is too large for blocksize: %d (%d)\n",
"Floor value is too large for blocksize: %"PRIuFAST32" (%"PRIuFAST32")\n",
rangemax, vc->blocksize[1] / 2);
return -1;
}


Loading…
Cancel
Save