From: Kostya Shishkov Date: Thu, 1 Jun 2017 17:01:48 +0000 (+0200) Subject: make an error for no frame output X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=6d3bb0b2836d18e285d36f276ecea3f089958669;p=nihav.git make an error for no frame output --- diff --git a/src/codecs/mod.rs b/src/codecs/mod.rs index 8ce4e50..dd72aeb 100644 --- a/src/codecs/mod.rs +++ b/src/codecs/mod.rs @@ -8,6 +8,7 @@ use io::codebook::CodebookError; #[derive(Debug,Clone,Copy,PartialEq)] #[allow(dead_code)] pub enum DecoderError { + NoFrame, TryAgain, InvalidData, ShortData,