diff options
author | 2011-05-03 10:54:31 +0200 | |
---|---|---|
committer | 2011-05-03 12:21:59 +0300 | |
commit | e69925090885be6b8c8c7260d8be6feb9776094f (patch) | |
tree | 0a793411f4aa203652e618cd62bdc67e4239a9b7 /libvo/vo_svga.c | |
parent | 6506d4ad84eac67e69437def2c8ee69fcfc14ed5 (diff) |
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.
Diffstat (limited to 'libvo/vo_svga.c')
-rw-r--r-- | libvo/vo_svga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_svga.c b/libvo/vo_svga.c index 3afb8e36a2..3b8a107c7d 100644 --- a/libvo/vo_svga.c +++ b/libvo/vo_svga.c @@ -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); |