We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87bc1d9 commit 9e970fdCopy full SHA for 9e970fd
src/rust/src/avc/core.rs
@@ -178,7 +178,8 @@ pub unsafe fn do_nal(
178
// Calculate sequence index from PTS difference
179
let pts_diff = (*dec_ctx.timing).current_pts - (*dec_ctx.avc_ctx).currefpts;
180
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;
+ let calculated_index =
182
+ round_portable(2.0 * pts_diff as f64 / fps_factor) as i32;
183
184
// If the calculated index is out of range, flush buffer and reset
185
let current_index = if calculated_index.abs() >= MAXBFRAMES {
0 commit comments