lavf: more correct printf format specifiers

This commit is contained in:
Diego Biurrun 2014-03-10 15:35:59 +01:00
parent 7caf48e036
commit d92024f18f
26 changed files with 114 additions and 57 deletions

View file

@ -25,6 +25,8 @@
* Core Audio Format demuxer
*/
#include <inttypes.h>
#include "avformat.h"
#include "internal.h"
#include "isom.h"
@ -289,7 +291,8 @@ static int read_header(AVFormatContext *s)
default:
#define _(x) ((x) >= ' ' ? (x) : ' ')
av_log(s, AV_LOG_WARNING, "skipping CAF chunk: %08X (%c%c%c%c)\n",
av_log(s, AV_LOG_WARNING,
"skipping CAF chunk: %08"PRIX32" (%"PRIu8"%"PRIu8"%"PRIu8"%"PRIu8")\n",
tag, _(tag>>24), _((tag>>16)&0xFF), _((tag>>8)&0xFF), _(tag&0xFF));
#undef _
case MKBETAG('f','r','e','e'):