diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-10-08 22:31:22 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-10-08 22:31:22 +0100 |
| commit | 85c2c9250f86dcc685b6e93e1e671a64cc0a24f3 (patch) | |
| tree | dfd73bfa8c293507e4097bc06422bd2c597a495f /src/lib/subtitle_decoder.cc | |
| parent | d0ca1c2dc93c9f2747b84e3243e3edffba93bf19 (diff) | |
Fix some warnings (part of #1135).
Diffstat (limited to 'src/lib/subtitle_decoder.cc')
| -rw-r--r-- | src/lib/subtitle_decoder.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/subtitle_decoder.cc b/src/lib/subtitle_decoder.cc index a3eed6374..802c9ef84 100644 --- a/src/lib/subtitle_decoder.cc +++ b/src/lib/subtitle_decoder.cc @@ -171,6 +171,9 @@ SubtitleDecoder::emit_text_start (ContentTime from, sub::Subtitle const & subtit case sub::RIGHT_OF_SCREEN: h_align = dcp::HALIGN_RIGHT; break; + default: + h_align = dcp::HALIGN_CENTER; + break; } out.push_back ( |
