Possible fix to lavc crash.
Originally committed to SVN as r1984.
This commit is contained in:
parent
c5a582a23b
commit
79b82b9167
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue