osd: make code C99

This used an unnamed union, which is allowed in GNU C and C11, but not
C99. This broke the build with some older compilers.

Replaces pull request #744.
This commit is contained in:
wm4 2014-04-26 16:02:49 +02:00
parent a5282e3a69
commit 75d7d87e1b
1 changed files with 3 additions and 5 deletions

View File

@ -52,11 +52,9 @@ struct sub_bitmap {
int x, y;
int dw, dh;
union {
struct {
uint32_t color;
} libass;
};
struct {
uint32_t color;
} libass;
};
struct sub_bitmaps {