summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-05-28 08:42:35 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-05-28 08:42:35 +0000
commit5edd9af248f1a917d7daf7e106ac0a18660ef60d (patch)
tree8ac2949040dc139c04f4070fd260f69cb2af7e79 /libvo
parent1fdbab9197d1e3d77fcc90c18eeeb33d5a7d57ef (diff)
downloadmpv-5edd9af248f1a917d7daf7e106ac0a18660ef60d.tar.bz2
mpv-5edd9af248f1a917d7daf7e106ac0a18660ef60d.tar.xz
Remove some unused variables, patch by timwoj ieee org.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23399 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_gl.c1
-rw-r--r--libvo/vo_macosx.m1
-rw-r--r--libvo/vo_quartz.c1
-rw-r--r--libvo/vo_x11.c2
4 files changed, 1 insertions, 4 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index b4c2edd76e..d56eef6513 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -261,7 +261,6 @@ static void genEOSD(mp_eosd_images_t *imgs) {
GLint scale_type = (scaled_osd) ? GL_LINEAR : GL_NEAREST;
ass_image_t *img = imgs->imgs;
ass_image_t *i;
- int cnt;
if (imgs->changed == 0) // there are elements, but they are unchanged
return;
diff --git a/libvo/vo_macosx.m b/libvo/vo_macosx.m
index dd1520c43f..fdbff85a14 100644
--- a/libvo/vo_macosx.m
+++ b/libvo/vo_macosx.m
@@ -95,7 +95,6 @@ static void draw_alpha(int x0, int y0, int w, int h, unsigned char *src, unsigne
static int config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format)
{
- int i;
//init screen
screen_array = [NSScreen screens];
diff --git a/libvo/vo_quartz.c b/libvo/vo_quartz.c
index b9546dc80d..a47f58c942 100644
--- a/libvo/vo_quartz.c
+++ b/libvo/vo_quartz.c
@@ -99,7 +99,6 @@ static CGRect bounds;
static GDHandle deviceHdl;
static CGDataProviderRef dataProviderRef;
-static CGImageAlphaInfo alphaInfo;
static CGImageRef image;
static Rect imgRect; // size of the original image (unscaled)
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c
index 888ef4e49f..d9f04bee0b 100644
--- a/libvo/vo_x11.c
+++ b/libvo/vo_x11.c
@@ -71,7 +71,7 @@ static unsigned char *ImageDataOrig;
/* X11 related variables */
static XImage *myximage = NULL;
-static int depth, bpp, mode;
+static int depth, bpp;
static XWindowAttributes attribs;
static int int_pause;