Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/bprint.c')
-rw-r--r--libavutil/bprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/bprint.c b/libavutil/bprint.c
index 646f0aab5d..75344f7b72 100644
--- a/libavutil/bprint.c
+++ b/libavutil/bprint.c
@@ -211,7 +211,7 @@ int main(void)
av_bprint_init(&b, 0, 1);
bprint_pascal(&b, 25);
- printf("Long text in automatic buffer: %zu/%u\n", strlen(b.str), b.len);
+ printf("Long text in automatic buffer: %zu/%u\n", strlen(b.str)/8*8, b.len);
/* Note that the size of the automatic buffer is arch-dependant. */
av_bprint_init(&b, 0, 0);