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 1c7e2a0 commit ebd8252Copy full SHA for ebd8252
src/rust/src/es/pic.rs
@@ -249,7 +249,9 @@ pub unsafe fn read_pic_info(
249
if dec_ctx.repeat_first_field != 0 {
250
dec_ctx.pulldownfields += 1;
251
dec_ctx.total_pulldownfields += 1;
252
- if dec_ctx.current_progressive_sequence != 0 || (dec_ctx.total_pulldownfields % 2) == 0 {
+ if dec_ctx.current_progressive_sequence != 0
253
+ || dec_ctx.total_pulldownfields.is_multiple_of(2)
254
+ {
255
extraframe = 1;
256
}
257
if dec_ctx.current_progressive_sequence != 0 && dec_ctx.top_field_first != 0 {
0 commit comments