diff --git a/src/demux/input.rs b/src/demux/input.rs index 0e8942c..26d8f06 100644 --- a/src/demux/input.rs +++ b/src/demux/input.rs @@ -16,6 +16,6 @@ pub fn new_reader() -> Result> { stdin_hndl.read_exact(&mut byte1)?; match &byte1[0] { 0x46 => flv::new_reader(stdin_hndl), - _ => Err(Box::new(util::GenericError::UnknownSyncByte)) + _ => Err(Box::new(util::DemuxerError::UnknownSyncByte)) } }