DF-3943 / run.log
BUILD_OK persistent dc_stream_state.dst.height over repeated FAILED interlaced validations (1080p interlaced + tiny plane): attempt 0: dst.height=1080 attempt 1: FAIL dst.height=2160 (0x870) attempt 2: FAIL dst.height=4320 (0x10e0) attempt 3: FAIL dst.height=8640 (0x21c0) attempt 4: FAIL dst.height=17280 (0x4380) attempt 5: FAIL dst.height=34560 (0x8700) attempt 6: FAIL dst.height=69120 (0x10e00) attempt 7: FAIL dst.height=138240 (0x21c00) attempt 8: FAIL dst.height=276480 (0x43800) attempt 9: FAIL dst.height=552960 (0x87000) attempt 10: FAIL dst.height=1105920 (0x10e000) attempt 11: FAIL dst.height=2211840 (0x21c000) attempt 12: FAIL dst.height=4423680 (0x438000) attempt 13: FAIL dst.height=8847360 (0x870000) attempt 14: FAIL dst.height=17694720 (0x10e0000) attempt 15: FAIL dst.height=35389440 (0x21c0000) attempt 16: FAIL dst.height=70778880 (0x4380000) attempt 17: FAIL dst.height=141557760 (0x8700000) attempt 18: FAIL dst.height=283115520 (0x10e00000) attempt 19: FAIL dst.height=566231040 (0x21c00000) attempt 20: FAIL dst.height=1132462080 (0x43800000) attempt 21: FAIL dst.height=-2030043136 (0x87000000) attempt 22: FAIL dst.height=234881024 (0xe000000) attempt 23: FAIL dst.height=469762048 (0x1c000000) Every failed attempt leaves the doubling unbalanced (early return at :1125 skips the /=2 at :1188). dst.height overflows signed int after 21 doublings (1080 * 2^21 > INT_MAX) -> negative heights feed calculate_recout()/calculate_scaling_ratios(). EXIT=0