diff oggparsevorbis.c @ 5228:a59767d33928 libavformat

Correctly print number of remaining bytes in oggparsevorbis instead of always with inverted sign.
author reimar
date Wed, 23 Sep 2009 09:18:23 +0000
parents 3aabdadf9d5f
children ee0eaff74dd3
line wrap: on
line diff
--- a/oggparsevorbis.c	Tue Sep 22 17:28:03 2009 +0000
+++ b/oggparsevorbis.c	Wed Sep 23 09:18:23 2009 +0000
@@ -112,7 +112,7 @@
     }
 
     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);