diff --git a/src/util/mod.rs b/src/util/mod.rs index 35133ba..08a08cb 100644 --- a/src/util/mod.rs +++ b/src/util/mod.rs @@ -130,7 +130,7 @@ impl fmt::Display for DemuxerError { pub enum DecoderError { CodecNotImplemented, - InvalidPipeInit, + BrokenInPipe, } impl Error for DecoderError {} @@ -140,7 +140,7 @@ impl fmt::Debug for DecoderError { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match self { DecoderError::CodecNotImplemented => write!(f, "Codec not recognized"), - DecoderError::InvalidPipeInit => write!(f, "Decoder has invalid piping"), + DecoderError::BrokenInPipe => write!(f, "Decoder has invalid piping"), _ => write!(f, "Error not described yet") } }