mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +00:00
vo_svga: fix build after previous commit 6506d4ad
vo_svga.c used its static query_format() function before defining it, but had no prototype before the use. Thus is depended on the otherwise useless static declaration in a shared header, and broke after that was removed. Fix by adding an advance declaration inside the file.
This commit is contained in:
parent
6506d4ad84
commit
e699250908
@ -63,7 +63,7 @@ TODO:
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
|
||||
static int query_format(uint32_t format);
|
||||
static void draw_alpha(int x0, int y0, int w, int h, unsigned char *src,
|
||||
unsigned char *srca, int stride);
|
||||
static uint32_t get_image(mp_image_t *mpi);
|
||||
|
Loading…
Reference in New Issue
Block a user