summaryrefslogtreecommitdiff
path: root/src/codecs/include/codec.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/codecs/include/codec.hpp')
-rw-r--r--src/codecs/include/codec.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/codecs/include/codec.hpp b/src/codecs/include/codec.hpp
index 87f6637c..36dda8ff 100644
--- a/src/codecs/include/codec.hpp
+++ b/src/codecs/include/codec.hpp
@@ -76,6 +76,8 @@ class ICodec {
kOutOfInput,
// Indicates that the data within the input buffer is fatally malformed.
kMalformedData,
+ // Indicated that the format is unsupported
+ kUnsupportedFormat,
kInternalError,
};
@@ -88,6 +90,8 @@ class ICodec {
return "malformed data";
case Error::kInternalError:
return "internal error";
+ case Error::kUnsupportedFormat:
+ return "unsupported format";
}
return "uhh";
}