summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-05-03 10:54:31 +0200
committerUoti Urpala <uau@mplayer2.org>2011-05-03 12:21:59 +0300
commite69925090885be6b8c8c7260d8be6feb9776094f (patch)
tree0a793411f4aa203652e618cd62bdc67e4239a9b7 /libvo
parent6506d4ad84eac67e69437def2c8ee69fcfc14ed5 (diff)
downloadmpv-e69925090885be6b8c8c7260d8be6feb9776094f.tar.bz2
mpv-e69925090885be6b8c8c7260d8be6feb9776094f.tar.xz
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')
-rw-r--r--libvo/vo_svga.c2
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);