diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-16 16:22:17 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-16 16:22:17 +0000 |
commit | 6833ea6ab29a4789cc267d41fb72bd1b0341a77f (patch) | |
tree | f81cbf3afa57e0fea8c75043088069b945912a5f /libvo/vo_zr.c | |
parent | a6207aaa68400ffcba36c7abc6a0cd31ed9428e7 (diff) |
libvo: Mark functions not used outside of their files as static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30598 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_zr.c')
-rw-r--r-- | libvo/vo_zr.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/libvo/vo_zr.c b/libvo/vo_zr.c index e8d1f23e11..95b12eb243 100644 --- a/libvo/vo_zr.c +++ b/libvo/vo_zr.c @@ -121,7 +121,8 @@ static zr_info_t zr_info[ZR_MAX_DEVICES] = { #define MJPEG_SIZE 1024*256 -int zoran_getcap(zr_info_t *zr) { +static int zoran_getcap(zr_info_t *zr) +{ char* dev = NULL; if (zr->device) @@ -196,7 +197,8 @@ int zoran_getcap(zr_info_t *zr) { return 0; } -int init_zoran(zr_info_t *zr, int stretchx, int stretchy) { +static int init_zoran(zr_info_t *zr, int stretchx, int stretchy) +{ /* center the image, and stretch it as far as possible (try to keep * aspect) and check if it fits */ if (zr->image_width > zr->vc.maxwidth) { @@ -264,7 +266,8 @@ int init_zoran(zr_info_t *zr, int stretchx, int stretchy) { return 0; } -void uninit_zoran(zr_info_t *zr) { +static void uninit_zoran(zr_info_t *zr) +{ if (zr->image) { free(zr->image); zr->image=NULL; @@ -283,7 +286,8 @@ void uninit_zoran(zr_info_t *zr) { close(zr->vdes); } -int zr_geometry_sane(geo_t *g, unsigned int width, unsigned int height) { +static int zr_geometry_sane(geo_t *g, unsigned int width, unsigned int height) +{ if (g->set) { if (g->width%2 != 0 || g->height%2 != 0 || g->xoff%2 != 0 || g->yoff%2 != 0) { |