diff --git a/CHANGELOG.md b/CHANGELOG.md index 856968d..e351d0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ ### Added +* Derive `Clone` and `Copy` for `SliceFamily`. * Add scaling list helper methods that convert stored `next_scale` intermediates into final `ScalingList` values: * `SeqScalingMatrix::scaling_lists_4x4()` / `scaling_lists_8x8()` diff --git a/src/nal/slice/mod.rs b/src/nal/slice/mod.rs index f2afec9..1e4e5b6 100644 --- a/src/nal/slice/mod.rs +++ b/src/nal/slice/mod.rs @@ -7,7 +7,7 @@ use crate::rbsp::BitRead; use crate::rbsp::BitReaderError; use crate::Context; -#[derive(Debug, PartialEq)] +#[derive(Debug, Clone, Copy, PartialEq)] pub enum SliceFamily { P, B,