Re: [Live-devel] Problem! If Matroska file not exist

2012-08-29 Thread Ross Finlayson
> The reason is destructor "fParserForInitialization" before its Init complete, > If "MatroskaFile" is not exist. OK, thanks. This is the explanation that I was looking for. The next release of the software (in a few hours) should fix this bug. Thanks again. Ross Finlayson Live Networks, In

Re: [Live-devel] Problem! If Matroska file not exist

2012-08-29 Thread kingking kuo
> > > but, In void MatroskaFileParser::continueParsing() call, the "if > > (fOnEndFunc != NULL) (*fOnEndFunc)(fOnEndClientData);" will call, then will > > call "void MatroskaFile::handleEndOfTrackHeaderParsing()", and this time > > the "fParserForInitialization" is a invalid pointer, delete t

Re: [Live-devel] Problem! If Matroska file not exist

2012-08-28 Thread Ross Finlayson
> but, In void MatroskaFileParser::continueParsing() call, the "if (fOnEndFunc > != NULL) (*fOnEndFunc)(fOnEndClientData);" will call, then will call "void > MatroskaFile::handleEndOfTrackHeaderParsing()", and this time the > "fParserForInitialization" is a invalid pointer, delete the invalid po

Re: [Live-devel] Problem! If Matroska file not exist

2012-08-28 Thread kingking kuo
> > > If Matroska if is not exist the program will crash.> > > > 1. In > > > MatroskaFile.cpp > > > > fParserForInitialization> > = new > > > MatroskaFileParser(*this, ByteStreamFileSource::createNew(envir(), > > > fileName),> > handleEndOfTrackHeaderParsing, this, NULL); > [...]> > // > > > i

Re: [Live-devel] Problem! If Matroska file not exist

2012-08-27 Thread Ross Finlayson
> If Matroska if is not exist the program will crash. > > 1. In MatroskaFile.cpp > > fParserForInitialization > = new MatroskaFileParser(*this, > ByteStreamFileSource::createNew(envir(), fileName), > handleEndOfTrackHeaderParsing, this, NULL); [...] > // if Matros

[Live-devel] Problem! If Matroska file not exist

2012-08-27 Thread kingking kuo
Hi, If Matroska if is not exist the program will crash. 1. In MatroskaFile.cpp fParserForInitialization= new MatroskaFileParser(*this, ByteStreamFileSource::createNew(envir(), fileName), handleEndOfTrackHeaderParsing, this, NULL); 2. In MatroskaFileParser.cpp if