changeset 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 35aaa4f2ad8d
children 4a01407f678d
files oggparsevorbis.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);