diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-11-14 22:01:07 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-04-22 01:42:00 +0200 |
| commit | 066471f69400fc72e9c126ab36f5427329f30220 (patch) | |
| tree | dd15f6b6aa7a74b5cca2ce5f300723b1b72d2f11 /src/exceptions.h | |
| parent | 0fbfe3d2dd5de9eab299f2ff569bff29cc6f8e19 (diff) | |
Support MPEG2 decompression.
Diffstat (limited to 'src/exceptions.h')
| -rw-r--r-- | src/exceptions.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/exceptions.h b/src/exceptions.h index 8d85f02a..88ec253c 100644 --- a/src/exceptions.h +++ b/src/exceptions.h @@ -140,6 +140,24 @@ public: }; +class MPEG2CodecError : public MiscError +{ +public: + explicit MPEG2CodecError(std::string message) + : MiscError(message) + {} +}; + + +class MPEG2DecompressionError : public ReadError +{ +public: + explicit MPEG2DecompressionError(std::string message) + : ReadError(message) + {} +}; + + class BadContentKindError : public ReadError { public: |
