# HG changeset patch # User reimar # Date 1253719838 0 # Node ID 541055a030f30ce4186be89f733de5e81f3a79b7 # Parent b81ec4ac8f96f9e29fcec346b2a0111d54250bfb Fix format string to match the types printed. diff -r b81ec4ac8f96 -r 541055a030f3 vorbis_dec.c --- a/vorbis_dec.c Wed Sep 23 15:16:36 2009 +0000 +++ b/vorbis_dec.c Wed Sep 23 15:30:38 2009 +0000 @@ -643,7 +643,7 @@ if (res_setup->begin>res_setup->end || res_setup->end>vc->blocksize[1]/(res_setup->type==2?1:2) || (res_setup->end-res_setup->begin)/res_setup->partition_size>V_MAX_PARTITIONS) { - av_log(vc->avccontext, AV_LOG_ERROR, "partition out of bounds: type, begin, end, size, blocksize: %d, %d, %d, %d, %d\n", res_setup->type, res_setup->begin, res_setup->end, res_setup->partition_size, vc->blocksize[1]/2); + av_log(vc->avccontext, AV_LOG_ERROR, "partition out of bounds: type, begin, end, size, blocksize: %"PRIdFAST16", %"PRIdFAST32", %"PRIdFAST32", %"PRIdFAST32", %"PRIdFAST32"\n", res_setup->type, res_setup->begin, res_setup->end, res_setup->partition_size, vc->blocksize[1]/2); return -1; }