diff options
Diffstat (limited to 'libvo/vo_zr.c')
-rw-r--r-- | libvo/vo_zr.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/libvo/vo_zr.c b/libvo/vo_zr.c index af9cc9b00a..8ad201a877 100644 --- a/libvo/vo_zr.c +++ b/libvo/vo_zr.c @@ -121,8 +121,7 @@ static zr_info_t zr_info[ZR_MAX_DEVICES] = { #define MJPEG_SIZE 1024*256 -static int zoran_getcap(zr_info_t *zr) -{ +int zoran_getcap(zr_info_t *zr) { char* dev = NULL; if (zr->device) @@ -197,8 +196,7 @@ static int zoran_getcap(zr_info_t *zr) return 0; } -static int init_zoran(zr_info_t *zr, int stretchx, int stretchy) -{ +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) { @@ -266,8 +264,7 @@ static int init_zoran(zr_info_t *zr, int stretchx, int stretchy) return 0; } -static void uninit_zoran(zr_info_t *zr) -{ +void uninit_zoran(zr_info_t *zr) { if (zr->image) { free(zr->image); zr->image=NULL; @@ -286,8 +283,7 @@ static void uninit_zoran(zr_info_t *zr) close(zr->vdes); } -static int zr_geometry_sane(geo_t *g, unsigned int width, unsigned int height) -{ +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) { @@ -834,7 +830,7 @@ static int preinit(const char *arg) return 0; } -static int control(uint32_t request, void *data, ...) +static int control(uint32_t request, void *data) { switch (request) { case VOCTRL_QUERY_FORMAT: |