diff --git a/crates/video/src/h264/dpb.rs b/crates/video/src/h264/dpb.rs index 81044955..34688e2f 100644 --- a/crates/video/src/h264/dpb.rs +++ b/crates/video/src/h264/dpb.rs @@ -478,7 +478,7 @@ mod tests { slice_group_change_cycle: 0, header_bits: 0, }; - let _ = Dpb::new().build_ref_lists(&sh, 0, 16); + assert!(Dpb::new().build_ref_lists(&sh, 0, 16).is_err()); } } }