mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-15 12:00:33 +00: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.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| cabac.c | ||
| data.c | ||
| data.h | ||
| dsp.c | ||
| dsp.h | ||
| dsp_template.c | ||
| filter.c | ||
| hevc.h | ||
| hevcdec.c | ||
| hevcdec.h | ||
| Makefile | ||
| mvs.c | ||
| parse.c | ||
| parse.h | ||
| parser.c | ||
| pred.c | ||
| pred.h | ||
| pred_template.c | ||
| ps.c | ||
| ps.h | ||
| ps_enc.c | ||
| refs.c | ||
| sei.c | ||
| sei.h | ||