aboutsummaryrefslogtreecommitdiffstats
path: root/vhook/fish.c
diff options
context:
space:
mode:
authorEduardo Bragatto <eduardo@bragetto.com>2008-01-09 20:48:02 +0000
committerVĂ­ctor Paesa <victorpaesa@googlemail.com>2008-01-09 20:48:02 +0000
commita20db8a35cf2050b3d646abdcd06ff21c8f53ee7 (patch)
treede9b6afec953e2e2a723a2c361bbb1d60120efea /vhook/fish.c
parent48aecf5a7dd8e914d44cb4210a09172dbd8d5d86 (diff)
downloadffmpeg-a20db8a35cf2050b3d646abdcd06ff21c8f53ee7.tar.gz
Initialize correctly optind.
Patch by Eduardo Bragatto, his name at his surname dot com Thread http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-January/039835.html Originally committed as revision 11483 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'vhook/fish.c')
-rw-r--r--vhook/fish.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vhook/fish.c b/vhook/fish.c
index 1571cf9b95..be23dc644a 100644
--- a/vhook/fish.c
+++ b/vhook/fish.c
@@ -124,7 +124,7 @@ int Configure(void **ctxp, int argc, char *argv[])
*ctxp = av_mallocz(sizeof(ContextInfo));
ci = (ContextInfo *) *ctxp;
- optind = 0;
+ optind = 1;
ci->dir = "/tmp";
ci->threshold = 100;