aboutsummaryrefslogtreecommitdiff
path: root/common/quicktime.cpp
AgeCommit message (Collapse)Author
2014-01-15ALL: Remove optimization unstable code on checking for null after new.D G Turner
These issues were identified by the STACK tool. By default, the C++ new operator will throw an exception on allocation failure, rather than returning a null pointer. The result is that testing the returned pointer for null is redundant and _may_ be removed by the compiler. This is thus optimization unstable and may result in incorrect behaviour at runtime. However, we do not use exceptions as they are not supported by all compilers and may be disabled. To make this stable without removing the null check, you could qualify the new operator call with std::nothrow to indicate that this should return a null, rather than throwing an exception. However, using (std::nothrow) was not desirable due to the Symbian toolchain lacking a <new> header. A global solution to this was also not easy by redefining "new" as "new (std::nothrow)" due to custom constructors in NDS toolchain and various common classes. Also, this would then need explicit checks for OOM adding to all new usages as per C malloc which is untidy. For now to remove this optimisation unstable code is best as it is likely to not be present anyway, and OOM will cause a system library exception instead, even without exceptions enabled in the application code.
2013-01-24JANITORIAL: Fix ){ -> ) {Einar Johan Trøan Sømåen
2012-09-09COMMON: Make QuickTimeParser::readSampleDesc take the desc sizeMatthew Hoops
2012-09-05COMMON: Allow for parsing QuickTime MIDI filesMatthew Hoops
2012-05-21COMMON: Skip junk found at the end of QuickTime filesMatthew Hoops
Can occur in files and is ignored by QuickTime
2012-03-30AUDIO: Fix QDM2 extra data parsingMatthew Hoops
2012-03-30COMMON: Read in QuickTime extra data for SVQ3Matthew Hoops
2012-03-19COMMON: Add a dummy edit when a QuickTime file contains noneMatthew Hoops
The edit just takes up the entire length of the track
2012-02-27COMMON: Fix opening QuickTime files from MacBinary filesMatthew Hoops
2011-12-15COMMON: QuickTime mdat atoms should be leavesMatthew Hoops
2011-12-12VIDEO: Add support for QuickTime video track edit listsMatthew Hoops
2011-08-07COMMON: Remove superfluous Common:: qualifiers.Christoph Mallon
2011-08-06JANITORIAL: Remove SVN keywordsEugene Sandulenko
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-03COMMON: Cleanup QuickTime variable and struct namingMatthew Hoops
2011-06-02COMMON: Begin objectifying QuickTimeParser::SampleDesc furtherMatthew Hoops
This is preparation for multiple video and audio tracks
2011-05-11Merge remote branch 'upstream/master' into t7g-iosMatthew Hoops
Conflicts: audio/decoders/qdm2.h common/util.cpp engines/groovie/music.cpp engines/groovie/resource.h video/qt_decoder.cpp video/qt_decoder.h
2011-04-13Merge remote branch 'upstream/master' into t7g-iosMatthew Hoops
Conflicts: video/qt_decoder.cpp
2011-04-12COMMON: Cleanup QuickTime's readSTTS()Matthew Hoops
2011-04-10COMMON: Fix QuickTime track durationMatthew Hoops
2011-04-08COMMON: Parse the MPEG-4 esds atomMatthew Hoops
2011-04-08COMMON: Add a DisposeAfterUse flag to QuickTimeParserMatthew Hoops
2011-04-07VIDEO: Split the QuickTime parser from the QuickTime VideoDecoderMatthew Hoops