mirror of https://github.com/odrling/Aegisub
wrong include and remember to destroy the index
Originally committed to SVN as r2344.
This commit is contained in:
parent
c64777e08e
commit
28fa817737
|
@ -131,6 +131,8 @@ int FFMSIndexApp::DoIndexing (IndexingOptions *Options) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FFMS_DestroyFrameIndex(Index);
|
||||||
|
|
||||||
std::cout << "done." << std::endl;
|
std::cout << "done." << std::endl;
|
||||||
} else {
|
} else {
|
||||||
std::cout << "Error: index file already exists, use -f if you are sure you want to overwrite it." << std::endl;
|
std::cout << "Error: index file already exists, use -f if you are sure you want to overwrite it." << std::endl;
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "../FFmpegSource2/ffms.h"
|
#include "ffms.h"
|
||||||
|
|
||||||
struct IndexingOptions {
|
struct IndexingOptions {
|
||||||
int TrackMask;
|
int TrackMask;
|
||||||
|
|
Loading…
Reference in New Issue