summaryrefslogtreecommitdiff
path: root/src/lib/xiph
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/xiph')
-rw-r--r--src/lib/xiph/OggFind.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/xiph/OggFind.cxx b/src/lib/xiph/OggFind.cxx
index 90b0dd41b..d989bcea2 100644
--- a/src/lib/xiph/OggFind.cxx
+++ b/src/lib/xiph/OggFind.cxx
@@ -22,8 +22,6 @@
#include "lib/xiph/OggSyncState.hxx"
#include "input/InputStream.hxx"
-#include <stdexcept>
-
bool
OggFindEOS(OggSyncState &oy, ogg_stream_state &os, ogg_packet &packet)
{
@@ -51,7 +49,7 @@ OggSeekPageAtOffset(OggSyncState &oy, ogg_stream_state &os, InputStream &is,
try {
is.LockSeek(offset);
- } catch (const std::runtime_error &) {
+ } catch (...) {
return false;
}