summaryrefslogtreecommitdiff
path: root/src/exceptions.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-03-19 17:44:10 +0100
committerCarl Hetherington <cth@carlh.net>2024-04-22 01:42:22 +0200
commitcca70e0824e6883f50838578897792476953ea24 (patch)
treeab7c32822e94fe08d1bf03d6878c66cc95070720 /src/exceptions.h
parent066471f69400fc72e9c126ab36f5427329f30220 (diff)
Support MPEG2 compression.v1.9.6
Diffstat (limited to 'src/exceptions.h')
-rw-r--r--src/exceptions.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/exceptions.h b/src/exceptions.h
index 88ec253c..3858b763 100644
--- a/src/exceptions.h
+++ b/src/exceptions.h
@@ -158,6 +158,15 @@ public:
};
+class MPEG2CompressionError : public MiscError
+{
+public:
+ explicit MPEG2CompressionError(std::string message)
+ : MiscError(message)
+ {}
+};
+
+
class BadContentKindError : public ReadError
{
public: