Skip to content

Commit ebd8252

Browse files
authored
Fix: Rust Clippy failing on 1.90 (#1753)
* Fix: Rust Clippy failing on 1.90 * Fix: Format Sourcecode in ES
1 parent 1c7e2a0 commit ebd8252

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/rust/src/es/pic.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,9 @@ pub unsafe fn read_pic_info(
249249
if dec_ctx.repeat_first_field != 0 {
250250
dec_ctx.pulldownfields += 1;
251251
dec_ctx.total_pulldownfields += 1;
252-
if dec_ctx.current_progressive_sequence != 0 || (dec_ctx.total_pulldownfields % 2) == 0 {
252+
if dec_ctx.current_progressive_sequence != 0
253+
|| dec_ctx.total_pulldownfields.is_multiple_of(2)
254+
{
253255
extraframe = 1;
254256
}
255257
if dec_ctx.current_progressive_sequence != 0 && dec_ctx.top_field_first != 0 {

0 commit comments

Comments
 (0)