mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
For mv-hevc, the second layer of IDR frame can be a P slice. long_term_rps wasn't been reset before the patch, which leading to ff_hevc_frame_nb_refs return incorrect result. This fix decoding failure for samples from Pico VR.