[FFmpeg-cvslog] Extend unknown CAF chunk warning message: Print size.

Carl Eugen Hoyos git at videolan.org
Sat Apr 23 10:31:42 CEST 2011


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sat Apr 23 10:19:21 2011 +0200| [2a2146aac0e1c7649d674905b6a6645b722aef2e] | committer: Carl Eugen Hoyos

Extend unknown CAF chunk warning message: Print size.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2a2146aac0e1c7649d674905b6a6645b722aef2e
---

 libavformat/cafdec.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/cafdec.c b/libavformat/cafdec.c
index 16c4674..43d466f 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)



More information about the ffmpeg-cvslog mailing list