Skip to content

Commit 9e970fd

Browse files
cfsmp3claude
andcommitted
style: Run cargo fmt on avc/core.rs
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 87bc1d9 commit 9e970fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rust/src/avc/core.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ pub unsafe fn do_nal(
178178
// Calculate sequence index from PTS difference
179179
let pts_diff = (*dec_ctx.timing).current_pts - (*dec_ctx.avc_ctx).currefpts;
180180
let fps_factor = MPEG_CLOCK_FREQ as f64 / current_fps;
181-
let calculated_index = round_portable(2.0 * pts_diff as f64 / fps_factor) as i32;
181+
let calculated_index =
182+
round_portable(2.0 * pts_diff as f64 / fps_factor) as i32;
182183

183184
// If the calculated index is out of range, flush buffer and reset
184185
let current_index = if calculated_index.abs() >= MAXBFRAMES {

0 commit comments

Comments
 (0)