wrong include and remember to destroy the index

Originally committed to SVN as r2344.
This commit is contained in:
Karl Blomster 2008-09-11 23:52:55 +00:00
parent c64777e08e
commit 28fa817737
2 changed files with 3 additions and 1 deletions

View File

@ -131,6 +131,8 @@ int FFMSIndexApp::DoIndexing (IndexingOptions *Options) {
return 1;
}
FFMS_DestroyFrameIndex(Index);
std::cout << "done." << std::endl;
} else {
std::cout << "Error: index file already exists, use -f if you are sure you want to overwrite it." << std::endl;

View File

@ -22,7 +22,7 @@
#include <iostream>
#include <string>
#include "../FFmpegSource2/ffms.h"
#include "ffms.h"
struct IndexingOptions {
int TrackMask;