todo stuff

Originally committed to SVN as r2405.
This commit is contained in:
Fredrik Mellbin 2008-10-01 19:29:42 +00:00
parent 4683c5a9d0
commit 6c571dfe17
2 changed files with 4 additions and 3 deletions

View File

@ -60,7 +60,7 @@ AVSValue __cdecl CreateFFIndex(AVSValue Args, void* UserData, IScriptEnvironment
// 1: Index generated // 1: Index generated
// 2: Index forced to be overwritten // 2: Index forced to be overwritten
FrameIndex *Index; FrameIndex *Index = NULL;
if (OverWrite || !(Index = FFMS_ReadIndex(CacheFile, ErrorMsg, MsgSize))) { if (OverWrite || !(Index = FFMS_ReadIndex(CacheFile, ErrorMsg, MsgSize))) {
if (!(Index = FFMS_MakeIndex(Source, IndexMask, DumpMask, AudioFile, true, NULL, NULL, ErrorMsg, MsgSize))) if (!(Index = FFMS_MakeIndex(Source, IndexMask, DumpMask, AudioFile, true, NULL, NULL, ErrorMsg, MsgSize)))
Env->ThrowError("FFIndex: %s", ErrorMsg); Env->ThrowError("FFIndex: %s", ErrorMsg);

View File

@ -66,8 +66,9 @@ public:
~FFAudioContext() { ~FFAudioContext() {
delete W64W; delete W64W;
if (CTX) // FIXME, why is there an access violation here?
avcodec_close(CTX); // if (CTX)
// avcodec_close(CTX);
} }
}; };