diff options
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/ffmpeg_decoder.cc | 2 | ||||
| -rw-r--r-- | src/lib/subtitle.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc index 97d43c76c..c4ca00fa6 100644 --- a/src/lib/ffmpeg_decoder.cc +++ b/src/lib/ffmpeg_decoder.cc @@ -411,7 +411,7 @@ FFmpegDecoder::deinterleave_audio (uint8_t* data, int size) break; default: - assert (false); + throw DecodeError (String::compose ("Unrecognised audio sample format (%1)", static_cast<int> (audio_sample_format()))); } return audio; diff --git a/src/lib/subtitle.cc b/src/lib/subtitle.cc index 182e30ed3..c52d3ac66 100644 --- a/src/lib/subtitle.cc +++ b/src/lib/subtitle.cc @@ -139,7 +139,7 @@ subtitle_transformed_area ( return tx; } -/** @return area that this subtitle take up, in the original uncropped source's coordinate space */ +/** @return area that this subtitle takes up, in the original uncropped source's coordinate space */ Rect Subtitle::area () const { |
