diff options
author | wm4 <wm4@nowhere> | 2013-05-19 15:47:34 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-05-21 00:04:27 +0200 |
commit | 266230ad64eddb663cfcf12ad248f9ae178d22ba (patch) | |
tree | a04933bf838f7c0e24f408fa581e91cb01c18fa9 /video/out/bitmap_packer.c | |
parent | 3b54dce9e518488588b213ce6cf90218e79fb0f6 (diff) | |
download | mpv-266230ad64eddb663cfcf12ad248f9ae178d22ba.tar.bz2 mpv-266230ad64eddb663cfcf12ad248f9ae178d22ba.tar.xz |
Silence some compiler warnings
None of these were actual issues.
Diffstat (limited to 'video/out/bitmap_packer.c')
-rw-r--r-- | video/out/bitmap_packer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/bitmap_packer.c b/video/out/bitmap_packer.c index aae0703072..4fd6594a35 100644 --- a/video/out/bitmap_packer.c +++ b/video/out/bitmap_packer.c @@ -150,9 +150,9 @@ int packer_pack(struct bitmap_packer *packer) xmax = FFMAX(0, xmax - packer->padding); ymax = FFMAX(0, ymax - packer->padding); if (xmax > packer->w) - packer->w = 1 << av_log2(xmax - 1) + 1; + packer->w = 1 << (av_log2(xmax - 1) + 1); if (ymax > packer->h) - packer->h = 1 << av_log2(ymax - 1) + 1; + packer->h = 1 << (av_log2(ymax - 1) + 1); while (1) { int used_width = 0; int y = pack_rectangles(in, packer->result, packer->count, |