From 6d3bb0b2836d18e285d36f276ecea3f089958669 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Thu, 1 Jun 2017 19:01:48 +0200 Subject: [PATCH] make an error for no frame output --- src/codecs/mod.rs | 1 + 1 file changed, 1 insertion(+) 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, -- 2.39.5