From 87208374290f47451d5d5b570007360b4a4eaba4 Mon Sep 17 00:00:00 2001 From: Muaz Ahmad Date: Thu, 5 Oct 2023 16:29:30 +0500 Subject: [PATCH] error better categorized --- src/demux/input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) } }