]> git.nihav.org Git - nihav.git/commitdiff
make an error for no frame output
authorKostya Shishkov <kostya.shishkov@gmail.com>
Thu, 1 Jun 2017 17:01:48 +0000 (19:01 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Thu, 1 Jun 2017 17:01:48 +0000 (19:01 +0200)
src/codecs/mod.rs

index 8ce4e50be0772db6483ec9ef09d07f6d6bea4603..dd72aeb657f719d2172c4890b41876657d3daa98 100644 (file)
@@ -8,6 +8,7 @@ use io::codebook::CodebookError;
 #[derive(Debug,Clone,Copy,PartialEq)]
 #[allow(dead_code)]
 pub enum DecoderError {
+    NoFrame,
     TryAgain,
     InvalidData,
     ShortData,