summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorrathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-04-06 11:57:10 +0000
committerrathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-04-06 11:57:10 +0000
commite3b183dc3f56d4de72aea2d2e8b02cc4ac938922 (patch)
treeeb3c8d274ba00275e797f106f34e3f5f8918037f /libvo
parentd621bc66d2ae9b9e3d375add71b1b45c6aa66e7f (diff)
downloadmpv-e3b183dc3f56d4de72aea2d2e8b02cc4ac938922.tar.bz2
mpv-e3b183dc3f56d4de72aea2d2e8b02cc4ac938922.tar.xz
- fix gcc warnings, strlcat/strlcpy prototypes
- fix bad sscanf usage in geometry.c git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15059 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/geometry.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libvo/geometry.c b/libvo/geometry.c
index 1fb402970c..0d145ee989 100644
--- a/libvo/geometry.c
+++ b/libvo/geometry.c
@@ -33,10 +33,10 @@ int geometry(int *xpos, int *ypos, int *widw, int *widh, int scrw, int scrh)
{
char percent[2];
RESET_GEOMETRY
- if(sscanf(vo_geometry, "%i%%:%i%1[%]", &xper, &yper, &percent) != 3)
+ if(sscanf(vo_geometry, "%i%%:%i%1[%]", &xper, &yper, percent) != 3)
{
RESET_GEOMETRY
- if(sscanf(vo_geometry, "%i:%i%1[%]", &xoff, &yper, &percent) != 3)
+ if(sscanf(vo_geometry, "%i:%i%1[%]", &xoff, &yper, percent) != 3)
{
RESET_GEOMETRY
if(sscanf(vo_geometry, "%i%%:%i", &xper, &yoff) != 2)
@@ -45,7 +45,7 @@ int geometry(int *xpos, int *ypos, int *widw, int *widh, int scrw, int scrh)
if(sscanf(vo_geometry, "%i:%i", &xoff, &yoff) != 2)
{
RESET_GEOMETRY
- if(sscanf(vo_geometry, "%i%1[%]", &xper, &percent) != 2)
+ if(sscanf(vo_geometry, "%i%1[%]", &xper, percent) != 2)
{
mp_msg(MSGT_VO, MSGL_ERR,
"-geometry must be in [WxH][+X+Y] | [X[%%]:[Y[%%]]] format, incorrect (%s)\n", vo_geometry);