mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-02-18 21:40:22 +00:00
Previously, we set s->slice_initialized to 0 to prevent other slice segments from depending on this slice segment only if hls_slice_header failed. If decode_slice fails for some other reason, however, before decode_slice_data is called to bring the context back into a consistent state, then slices could depend on this slice segment while it is in an invalid state. This can cause segmentation faults and other sorts of nastiness. Patch fixes this by always setting s->slice_initialized to 0 while the state is inconsistent. Resolves #11652. |
||
|---|---|---|
| .. | ||
| 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 | ||