From 2a2146aac0e1c7649d674905b6a6645b722aef2e Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sat, 23 Apr 2011 10:19:21 +0200 Subject: [PATCH] Extend unknown CAF chunk warning message: Print size. --- libavformat/cafdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/cafdec.c b/libavformat/cafdec.c index 16c467458..43d466f8c 100644 --- a/libavformat/cafdec.c +++ b/libavformat/cafdec.c @@ -259,8 +259,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", - tag, _(tag>>24), _((tag>>16)&0xFF), _((tag>>8)&0xFF), _(tag&0xFF)); + av_log(s, AV_LOG_WARNING, "skipping CAF chunk: %08X (%c%c%c%c), size %"PRId64"\n", + tag, _(tag>>24), _((tag>>16)&0xFF), _((tag>>8)&0xFF), _(tag&0xFF), size); #undef _ case MKBETAG('f','r','e','e'): if (size < 0) -- 2.11.0