diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-08-01 12:04:33 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-08-01 12:04:33 +0100 |
| commit | d13c88dd2f2710e52362a3375402e6d98ac37bed (patch) | |
| tree | 3adb8bb87e1a29dfa14cb3d46186e2989f65ca15 /src/lib | |
| parent | de2ccb58200caa7e180e9c7792825faa12fd4ad8 (diff) | |
Fix crash with still images.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/film_state.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/film_state.cc b/src/lib/film_state.cc index e23bf9148..e0ad20417 100644 --- a/src/lib/film_state.cc +++ b/src/lib/film_state.cc @@ -275,9 +275,8 @@ FilmState::bytes_per_sample () const case AV_SAMPLE_FMT_S16: return 2; default: - assert (false); + return 0; } - assert (false); return 0; } |
