On 04/24/2011 01:50 PM, Diego Biurrun wrote:
> 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’
> ---
> libavcodec/vorbisdec.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/libavcodec/vorbisdec.c b/libavcodec/vorbisdec.c
> index 5fa7be1..d42507d 100644
> --- a/libavcodec/vorbisdec.c
> +++ b/libavcodec/vorbisdec.c
> @@ -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;
> }
ok.
would be nice to get rid of all those fast types in vorbisdec, but in
the meantime it would also be nice to get rid of the warning messages.
-Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel