X-Git-Url: https://git.nihav.org/?p=nihav.git;a=blobdiff_plain;f=nihav-core%2Fsrc%2Fcodecs%2Fh263%2Fdata.rs;h=36b22e19c8ac42b6df3b5d8e387c77b9059d17b5;hp=029c5bbecf8160b6946d0bae8a4b12ec2419d93a;hb=e243ceb4d694cc08767ad70027bb6963f4cefea3;hpb=250c49f64633580d3e294a7b871fad4618694209 diff --git a/nihav-core/src/codecs/h263/data.rs b/nihav-core/src/codecs/h263/data.rs index 029c5bb..36b22e1 100644 --- a/nihav-core/src/codecs/h263/data.rs +++ b/nihav-core/src/codecs/h263/data.rs @@ -114,7 +114,7 @@ pub const H263_CHROMA_QUANT: [u8; 32] = [ pub struct H263ShortCodeReader { tab: &'static [(u8, u8)] } impl H263ShortCodeReader { - pub fn new(tab: &'static [(u8, u8)]) -> Self { H263ShortCodeReader { tab: tab } } + pub fn new(tab: &'static [(u8, u8)]) -> Self { H263ShortCodeReader { tab } } } impl CodebookDescReader for H263ShortCodeReader { @@ -202,7 +202,7 @@ pub const H263_RL_CODES_AIC: &[H263RLCodeDesc] = rlcodes!( pub struct H263RLCodeReader { tab: &'static [H263RLCodeDesc] } impl H263RLCodeReader { - pub fn new(tab: &'static [H263RLCodeDesc]) -> Self { H263RLCodeReader { tab: tab } } + pub fn new(tab: &'static [H263RLCodeDesc]) -> Self { H263RLCodeReader { tab } } } impl CodebookDescReader for H263RLCodeReader {