Fix: Rust Clippy failing on 1.90 (#1753)

* Fix: Rust Clippy failing on 1.90

* Fix: Format Sourcecode in ES
This commit is contained in:
Deepnarayan Sett
2025-09-30 07:59:05 +05:30
committed by GitHub
parent 1c7e2a0995
commit ebd8252b88

View File

@@ -249,7 +249,9 @@ pub unsafe fn read_pic_info(
if dec_ctx.repeat_first_field != 0 {
dec_ctx.pulldownfields += 1;
dec_ctx.total_pulldownfields += 1;
if dec_ctx.current_progressive_sequence != 0 || (dec_ctx.total_pulldownfields % 2) == 0 {
if dec_ctx.current_progressive_sequence != 0
|| dec_ctx.total_pulldownfields.is_multiple_of(2)
{
extraframe = 1;
}
if dec_ctx.current_progressive_sequence != 0 && dec_ctx.top_field_first != 0 {