Correctly print number of remaining bytes in oggparsevorbis instead of always

with inverted sign.

Originally committed as revision 19978 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2009-09-23 09:18:23 +00:00
parent 2d3beedee2
commit 7d507ceb79

View File

@ -112,7 +112,7 @@ vorbis_comment(AVFormatContext * as, uint8_t *buf, int size)
}
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);