I noticed that if OpenOutputFile(env, outputFileName) method call in
AVIFileSink constructor fails, the AVIFileSink remains in the
MediaLookUp table.
Addition to the table is done in the constructor of Medium and is
called in AVIFileSink constructor's initializer list. Since
AVIFileSink::createNew() returns NULL in this case, the client
application does not receive a reference to close the AVIFileSink.
Look at the code for "AVIFileSink::createNew()" again. You'll see
that it deletes the object if the output 'fid' was not created (i.e., is NULL).
The same is true for "QuickTimeFileSink".
Ross Finlayson
Live Networks, Inc. (LIVE555.COM)
<http://www.live555.com/>
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel