projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de2ccb5
)
Fix crash with still images.
author
Carl Hetherington
<cth@carlh.net>
Wed, 1 Aug 2012 11:04:33 +0000
(12:04 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 1 Aug 2012 11:04:33 +0000
(12:04 +0100)
src/lib/film_state.cc
patch
|
blob
|
history
diff --git
a/src/lib/film_state.cc
b/src/lib/film_state.cc
index e23bf9148595b8905b8f31cfccb48ab9f80d6e51..e0ad20417adbee8f450d241df6df144e70918cf1 100644
(file)
--- 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;
}