mirror of https://github.com/mpv-player/mpv
video/out/bitmap_packer: Avoid empty initializer list
This commit is contained in:
parent
235fabcfae
commit
78963d1e66
|
@ -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];
|
bins[i] = bins[i << HEIGHT_SORT_BITS] - sizes[i << HEIGHT_SORT_BITS];
|
||||||
struct {
|
struct {
|
||||||
int size, x, bottom;
|
int size, x, bottom;
|
||||||
} stack[16] = {{15, 0, h}}, s = {};
|
} stack[16] = {{15, 0, h}}, s = {0};
|
||||||
int stackpos = 1;
|
int stackpos = 1;
|
||||||
int y;
|
int y;
|
||||||
while (stackpos) {
|
while (stackpos) {
|
||||||
|
|
Loading…
Reference in New Issue