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
LAVCKeyFrames::LAVCKeyFrames(const Aegisub::String& filename)
LAVCKeyFrames::LAVCKeyFrames(const Aegisub::String filename)
: file(0), codecContext(0), codec(0), stream(0), frame(0),
streamN(-1) {
// Open LAVCFile

View File

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