From 873f7b767a2163a07a9c41cd78548ebfa5d977fa Mon Sep 17 00:00:00 2001 From: nixxquality Date: Thu, 17 Jul 2014 19:53:42 +0200 Subject: [PATCH] Fix utf8 argument on FFVideoSource --- src/avisynth/avisynth.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/avisynth/avisynth.cpp b/src/avisynth/avisynth.cpp index cc99455325..d815df01a2 100644 --- a/src/avisynth/avisynth.cpp +++ b/src/avisynth/avisynth.cpp @@ -85,7 +85,7 @@ static AVSValue __cdecl CreateFFIndex(AVSValue Args, void* UserData, IScriptEnvi } static AVSValue __cdecl CreateFFVideoSource(AVSValue Args, void* UserData, IScriptEnvironment* Env) { - FFMS_Init(0, Args[15].AsBool(false)); + FFMS_Init(0, Args[14].AsBool(false)); if (!Args[0].Defined()) Env->ThrowError("FFVideoSource: No source specified");