Commit 7d507ceb authored by Reimar Döffinger's avatar Reimar Döffinger

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
parent 2d3beede
...@@ -112,7 +112,7 @@ vorbis_comment(AVFormatContext * as, uint8_t *buf, int size) ...@@ -112,7 +112,7 @@ vorbis_comment(AVFormatContext * as, uint8_t *buf, int size)
} }
if (p != end) 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) if (n > 0)
av_log(as, AV_LOG_INFO, av_log(as, AV_LOG_INFO,
"truncated comment header, %i comments not found\n", n); "truncated comment header, %i comments not found\n", n);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment