voelin-media: drop a needless mut in the FFmpeg bitrate test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
Claude committed 2026-09-29 01:23:35 +00:00
1 parent 9cdc336c2d
commit c08584175e
1 file changed
+1 -1
+1 -1
View File
@@ -240,7 +240,7 @@ fn bitrate_changes_without_live_reconfiguration() {
let screen = SyntheticScreen::new(W, H);
let config = EncoderConfig { fps: 30, bitrate_bps: 1_000_000, ..EncoderConfig::default() };
let mut encoder = FfmpegEncoder::new("libaom-av1", config).unwrap();
let mut key = |encoder: &mut FfmpegEncoder, n: u64, force: bool| {
let key = |encoder: &mut FfmpegEncoder, n: u64, force: bool| {
encoder.encode(&screen.frame(n, 30), force).unwrap().iter().any(|f| f.keyframe)
};
assert!(key(&mut encoder, 0, false));