mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 20:04:31 +01:00
Burnout Legends feeds its intro movies to one decoder back to back, with no flush in between. Each new stream opens with a buffering period whose cpb_removal_delay is 0, which put our reconstructed clock 18 frames back, so every picture after it was held until the clock caught up, and then 20 came out of one decode. sceMpegAvcDecodeYCbCr converts every picture a decode reports into the caller's buffer list, which only has room for one, so mpeg.prx went on through stack garbage and crashed as the title screen came up. Such a buffering period now continues from the last access unit instead. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>