]> git.sesse.net Git - ffmpeg/blobdiff - vhook/drawtext.c
Only the yasm-dependent objects should be enabled by a yasm conditional.
[ffmpeg] / vhook / drawtext.c
index 5001c4b5fa1e246e8627fe0869554078e60c5768..8638d60e0784c50902ba799064e271281e94cc43 100644 (file)
@@ -45,7 +45,7 @@
 
 #define MAXSIZE_TEXT 1024
 
-#include "framehook.h"
+#include "libavformat/framehook.h"
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -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':