diff options
author | Michael Forney <mforney@mforney.org> | 2019-07-03 02:20:12 -0700 |
---|---|---|
committer | wm4 <1387750+wm4@users.noreply.github.com> | 2019-11-18 16:50:21 +0100 |
commit | 78963d1e6610627ecb4ee90f3ae7f569775b95d4 (patch) | |
tree | aa4ffd2517b687ce8237ac50aec1050f2c02e59b /video/out/bitmap_packer.c | |
parent | 235fabcfae4db7ee1741c1d95777fac19047e5f7 (diff) | |
download | mpv-78963d1e6610627ecb4ee90f3ae7f569775b95d4.tar.bz2 mpv-78963d1e6610627ecb4ee90f3ae7f569775b95d4.tar.xz |
video/out/bitmap_packer: Avoid empty initializer list
Diffstat (limited to 'video/out/bitmap_packer.c')
-rw-r--r-- | video/out/bitmap_packer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/bitmap_packer.c b/video/out/bitmap_packer.c index a79446d2c2..5ef090b823 100644 --- a/video/out/bitmap_packer.c +++ b/video/out/bitmap_packer.c @@ -91,7 +91,7 @@ static int pack_rectangles(struct pos *in, struct pos *out, int num_rects, bins[i] = bins[i << HEIGHT_SORT_BITS] - sizes[i << HEIGHT_SORT_BITS]; struct { int size, x, bottom; - } stack[16] = {{15, 0, h}}, s = {}; + } stack[16] = {{15, 0, h}}, s = {0}; int stackpos = 1; int y; while (stackpos) { |