Possible fix to lavc crash.

Originally committed to SVN as r1984.
This commit is contained in:
Rodrigo Braz Monteiro 2008-03-08 23:41:24 +00:00
parent c5a582a23b
commit 79b82b9167
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@
/////////////// ///////////////
// Constructor // Constructor
LAVCKeyFrames::LAVCKeyFrames(const Aegisub::String& filename) LAVCKeyFrames::LAVCKeyFrames(const Aegisub::String filename)
: file(0), codecContext(0), codec(0), stream(0), frame(0), : file(0), codecContext(0), codec(0), stream(0), frame(0),
streamN(-1) { streamN(-1) {
// Open LAVCFile // Open LAVCFile

View file

@ -48,7 +48,7 @@ class LAVCKeyFrames {
int streamN; // Stream index int streamN; // Stream index
public: public:
LAVCKeyFrames(const Aegisub::String& filename); LAVCKeyFrames(const Aegisub::String filename);
~LAVCKeyFrames(); ~LAVCKeyFrames();
wxArrayInt GetKeyFrames(); wxArrayInt GetKeyFrames();
}; };