[FFmpeg-cvslog] r19978 - trunk/libavformat/oggparsevorbis.c

reimar subversion
Wed Sep 23 11:18:23 CEST 2009


Author: reimar
Date: Wed Sep 23 11:18:23 2009
New Revision: 19978

Log:
Correctly print number of remaining bytes in oggparsevorbis instead of always
with inverted sign.

Modified:
   trunk/libavformat/oggparsevorbis.c

Modified: trunk/libavformat/oggparsevorbis.c
==============================================================================
--- trunk/libavformat/oggparsevorbis.c	Wed Sep 23 11:03:26 2009	(r19977)
+++ trunk/libavformat/oggparsevorbis.c	Wed Sep 23 11:18:23 2009	(r19978)
@@ -112,7 +112,7 @@ vorbis_comment(AVFormatContext * as, uin
     }
 
     if (p != end)
-        av_log(as, AV_LOG_INFO, "%ti bytes of comment header remain\n", p-end);
+        av_log(as, AV_LOG_INFO, "%ti bytes of comment header remain\n", end-p);
     if (n > 0)
         av_log(as, AV_LOG_INFO,
                "truncated comment header, %i comments not found\n", n);



More information about the ffmpeg-cvslog mailing list