summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2009-10-22 04:21:14 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-10-22 04:45:31 +0300
commit37713cb3ec2ad1c05dbc828ad94e12cd4ea4f574 (patch)
tree7825cc6cd9f7b3d22f43c05b6cc73a5ecee03882 /libvo
parentfa7983b236a219da83ed73a461d58605b69575da (diff)
downloadmpv-37713cb3ec2ad1c05dbc828ad94e12cd4ea4f574.tar.bz2
mpv-37713cb3ec2ad1c05dbc828ad94e12cd4ea4f574.tar.xz
cosmetics: Add two missing "static"
Add missing 'static' to internal functions in vo_xv.c and vo_vdpau.c.
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_vdpau.c2
-rw-r--r--libvo/vo_xv.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_vdpau.c b/libvo/vo_vdpau.c
index e613205834..286015176c 100644
--- a/libvo/vo_vdpau.c
+++ b/libvo/vo_vdpau.c
@@ -559,7 +559,7 @@ static int create_vdp_decoder(struct vo *vo, int max_refs)
return 1;
}
-int initialize_vdpau_objects(struct vo *vo)
+static int initialize_vdpau_objects(struct vo *vo)
{
struct vdpctx *vc = vo->priv;
struct vdp_functions *vdp = vc->vdp;
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index f9579c1e19..886fd0a0d7 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -400,7 +400,7 @@ static inline void put_xvimage(struct vo *vo, XvImage *xvi)
}
// Only copies luma for planar formats as draw_alpha doesn't change others */
-void copy_backup_image(struct vo *vo, int dest, int src)
+static void copy_backup_image(struct vo *vo, int dest, int src)
{
struct xvctx *ctx = vo->priv;