projects
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Initialize correctly optind.
[ffmpeg.git]
/
vhook
/
drawtext.c
diff --git
a/vhook/drawtext.c
b/vhook/drawtext.c
index
5001c4b
..
d3ca767
100644
(file)
--- a/
vhook/drawtext.c
+++ b/
vhook/drawtext.c
@@
-172,7
+172,7
@@
int Configure(void **ctxp, int argc, char *argv[])
ci->outline = 0;
ci->text_height = 0;
- optind =
0
;
+ optind =
1
;
while ((c = getopt(argc, argv, "f:t:T:x:y:s:c:C:bo")) > 0) {
switch (c) {
case 'f':