summaryrefslogtreecommitdiffstats
path: root/vidix
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2008-10-02 05:17:23 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2008-10-02 05:17:23 +0300
commitebb4abf2081026c63bb5c983f76447d9d2413656 (patch)
treef2b3ed868645fd2546173be3500f4c3e0cdf3ecc /vidix
parent849dc0ba31f209dfdb48146512e48ee2203d0ee6 (diff)
parent20571d6f6870dab84624cc6b6fbac82cde204f16 (diff)
downloadmpv-ebb4abf2081026c63bb5c983f76447d9d2413656.tar.bz2
mpv-ebb4abf2081026c63bb5c983f76447d9d2413656.tar.xz
Merge svn changes up to r27682
Addition of the "outdir" suboption to vo_png in svn was reverted before merging. Conflicts: command.c mplayer.c
Diffstat (limited to 'vidix')
-rw-r--r--vidix/ivtv_vid.c6
-rw-r--r--vidix/pm2_vid.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/vidix/ivtv_vid.c b/vidix/ivtv_vid.c
index 15bf38d85c..d190894aa3 100644
--- a/vidix/ivtv_vid.c
+++ b/vidix/ivtv_vid.c
@@ -90,7 +90,7 @@ static vidix_capability_t ivtv_cap =
};
static void de_macro_y(unsigned char *src, unsigned char *dst,
- unsigned int w, unsigned int h, int src_x, int src_y, int height __attribute__ ((unused)), int width)
+ unsigned int w, unsigned int h, int src_x, int src_y, int height, int width)
{
unsigned int x, y, i;
unsigned char *dst_2;
@@ -221,7 +221,7 @@ static void de_macro_uv(unsigned char *srcu, unsigned char *srcv,
}
}
-int ivtv_probe(int verbose,int force __attribute__ ((unused)))
+int ivtv_probe(int verbose, int force)
{
unsigned char fb_number = 0;
char *device_name = NULL;
@@ -356,7 +356,7 @@ yuv_found:
return 0;
}
-int ivtv_init(const char *args __attribute__ ((unused)))
+int ivtv_init(const char *args)
{
if(ivtv_verbose)
printf(IVTV_MSG"init\n");
diff --git a/vidix/pm2_vid.c b/vidix/pm2_vid.c
index 748a9fd884..246bc7398d 100644
--- a/vidix/pm2_vid.c
+++ b/vidix/pm2_vid.c
@@ -92,7 +92,7 @@ static int find_chip(unsigned int vendor, uint32_t chip_id)
return -1;
}
-static int pm2_probe(int verbose, int force __attribute__ ((unused)))
+static int pm2_probe(int verbose, int force)
{
pciinfo_t lst[MAX_PCI_DEVICES];
unsigned i,num_pci;