FFmpegSource2: fix ffmpeg init some more
Originally committed to SVN as r2308.
This commit is contained in:
parent
8f663c2336
commit
93b13387f2
1 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,8 @@
|
|||
#include "utils.h"
|
||||
|
||||
AVSValue __cdecl CreateFFIndex(AVSValue Args, void* UserData, IScriptEnvironment* Env) {
|
||||
FFMS_Init();
|
||||
|
||||
char ErrorMsg[1024];
|
||||
unsigned MsgSize = sizeof(ErrorMsg);
|
||||
|
||||
|
@ -70,6 +72,8 @@ AVSValue __cdecl CreateFFIndex(AVSValue Args, void* UserData, IScriptEnvironment
|
|||
}
|
||||
|
||||
AVSValue __cdecl CreateFFVideoSource(AVSValue Args, void* UserData, IScriptEnvironment* Env) {
|
||||
FFMS_Init();
|
||||
|
||||
char ErrorMsg[1024];
|
||||
unsigned MsgSize = sizeof(ErrorMsg);
|
||||
|
||||
|
|
Loading…
Reference in a new issue