residual/residual — Issue #395: Residual build error and crashes without USE_SMUSH defined.
Author: juj
Created: 2011-10-28 18:12:08+00:00
State: open

movie.cpp:235 has a line
MoviePlayer *CreateSmushPlayer() {

which should be

MoviePlayer *CreateSmushPlayer(bool) {

instead to build, if USE_SMUSH is not defined.

Also, movie.cpp:150 does not check whether _videoDecoder is null when trying to load the file, which causes a null pointer deference crash if USE_SMUSH is not defined.