summaryrefslogtreecommitdiffstats
path: root/libvo/vo_svga.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-10-02 14:22:03 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:18:08 +0200
commit690bcb7b2c750ce6935e979c392395882d51744b (patch)
treed563f321a0f8da5a31c34f433a64351795cecdf0 /libvo/vo_svga.c
parent69e3e06a1ab7c58b16294d0c7451b374e5966e21 (diff)
downloadmpv-690bcb7b2c750ce6935e979c392395882d51744b.tar.bz2
mpv-690bcb7b2c750ce6935e979c392395882d51744b.tar.xz
libvo: remove UNUSED() macros
Remove UNUSED macros used to shut up unused function parameter warnings. The macros are duplicated all over libvo and serve no useful purpose nowadays. A better way to shut up the warnings is -Wno-unused-parameter. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32422 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_svga.c')
-rw-r--r--libvo/vo_svga.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libvo/vo_svga.c b/libvo/vo_svga.c
index 1435d1ecdc..c74cf61089 100644
--- a/libvo/vo_svga.c
+++ b/libvo/vo_svga.c
@@ -66,9 +66,6 @@ TODO:
#include <assert.h>
-//silence warnings, probably it have to go in some global header
-#define UNUSED(x) ((void)(x))
-
static void draw_alpha(int x0, int y0, int w, int h, unsigned char *src,
unsigned char *srca, int stride);
@@ -559,16 +556,11 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
static int draw_slice(uint8_t *image[],int stride[],
int w, int h, int x, int y) {
assert(0);
- UNUSED(image);UNUSED(stride);
- UNUSED(w);UNUSED(h);
- UNUSED(x);UNUSED(y);
-
return VO_ERROR;//this is yv12 only -> vf_scale should do all transforms
}
static int draw_frame(uint8_t *src[]) {
assert(0);
- UNUSED(src);
return VO_ERROR;//this one should not be called
}