mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
[497/906] filtershader: fix format compiler warnings
This commit is contained in:
parent
865e431a75
commit
5d752d6422
1 changed files with 12 additions and 11 deletions
|
@ -140,7 +140,7 @@ char *mat_parsevalue (int n, int m, char *value, char *_saveptr,
|
||||||
char *variables:
|
char *variables:
|
||||||
The text to be parsed.
|
The text to be parsed.
|
||||||
|
|
||||||
int (*_setvariable)():
|
int (*_setvariable)():
|
||||||
Defaults to gst_gl_shadervariable_set().
|
Defaults to gst_gl_shadervariable_set().
|
||||||
You can specify here a user function for managing the
|
You can specify here a user function for managing the
|
||||||
parsed variable description.
|
parsed variable description.
|
||||||
|
@ -148,7 +148,7 @@ char *mat_parsevalue (int n, int m, char *value, char *_saveptr,
|
||||||
return values:
|
return values:
|
||||||
0: No error.
|
0: No error.
|
||||||
-1: Error.
|
-1: Error.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
|
@ -319,7 +319,8 @@ parse_error:
|
||||||
fprintf (stderr, " ");
|
fprintf (stderr, " ");
|
||||||
fprintf (stderr, "^\n");
|
fprintf (stderr, "^\n");
|
||||||
}
|
}
|
||||||
GST_ERROR ("parse error on line %d, position %d (%s)", line, t - p, t);
|
GST_ERROR ("parse error on line %d, position %ld (%s)", line, (glong) (t - p),
|
||||||
|
t);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -345,7 +346,7 @@ parse_error:
|
||||||
return values:
|
return values:
|
||||||
0: No error.
|
0: No error.
|
||||||
!0: Pointer to parse error.
|
!0: Pointer to parse error.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
char *
|
char *
|
||||||
|
@ -425,7 +426,7 @@ parsename (char **varname, int *arraysize, char **saveptr)
|
||||||
return values:
|
return values:
|
||||||
0: No error.
|
0: No error.
|
||||||
!0: Variable type unknown/incorrect.
|
!0: Variable type unknown/incorrect.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
|
@ -622,7 +623,7 @@ gst_gl_shadervariable_set (GstGLShader * shader,
|
||||||
return values:
|
return values:
|
||||||
0: No error.
|
0: No error.
|
||||||
!0: Pointer to parse error.
|
!0: Pointer to parse error.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
char *
|
char *
|
||||||
|
@ -882,7 +883,7 @@ parsevalue (char *value, char *_saveptr, struct gst_gl_shadervariable_desc *ret)
|
||||||
return values:
|
return values:
|
||||||
0: No error.
|
0: No error.
|
||||||
!0: Pointer to parse error.
|
!0: Pointer to parse error.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
char *
|
char *
|
||||||
|
@ -1008,7 +1009,7 @@ vec_parsevalue (int n, char *value, char *_saveptr,
|
||||||
return values:
|
return values:
|
||||||
0: No error.
|
0: No error.
|
||||||
!0: Pointer to parse error.
|
!0: Pointer to parse error.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
char *
|
char *
|
||||||
|
@ -1129,7 +1130,7 @@ bvec_parsevalue (int n, char *value, char *_saveptr,
|
||||||
return values:
|
return values:
|
||||||
0: No error.
|
0: No error.
|
||||||
!0: Pointer to parse error.
|
!0: Pointer to parse error.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
char *
|
char *
|
||||||
|
@ -1255,7 +1256,7 @@ ivec_parsevalue (int n, char *value, char *_saveptr,
|
||||||
return values:
|
return values:
|
||||||
0: No error.
|
0: No error.
|
||||||
!0: Pointer to parse error.
|
!0: Pointer to parse error.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
char *
|
char *
|
||||||
|
@ -1381,7 +1382,7 @@ uvec_parsevalue (int n, char *value, char *_saveptr,
|
||||||
return values:
|
return values:
|
||||||
0: No error.
|
0: No error.
|
||||||
!0: Pointer to parse error.
|
!0: Pointer to parse error.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
char *
|
char *
|
||||||
|
|
Loading…
Reference in a new issue