From e69925090885be6b8c8c7260d8be6feb9776094f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Tue, 3 May 2011 10:54:31 +0200 Subject: [PATCH] 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. --- libvo/vo_svga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 - +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);