FFmpeg/libavcodec
Lynne c39e861a3d
vulkan_h264: check if slices_buf exists on end_frame
The issue is that while decode_slice is guaranteed to never get
called without start_frame, end_frame is not. Moreover, it is
not guaranteed it won't be called twice.

On a badly-broken sample, this is what happens, which leads to
a segfault, as vp->slices_buf doesn't exist, as it has been handed
off for decoding already and isn't owned by the frame.

Return an error as it's indicative that it's a corrupt stream rather
than just missing any slices.

Prevents a segfault.
2023-06-25 03:11:38 +02:00
..
2023-03-26 01:46:39 +01:00
2023-03-02 21:32:00 +01:00
2023-06-20 14:37:52 +02:00
2023-05-15 10:24:54 +02:00
2023-06-20 01:11:31 +02:00
2023-06-20 01:11:31 +02:00
2023-05-15 10:24:54 +02:00
2023-05-21 10:50:59 +02:00
2023-05-15 10:24:54 +02:00
2023-05-29 00:41:58 +02:00
2023-05-29 00:41:58 +02:00
2023-05-29 00:42:00 +02:00
2023-05-15 10:24:54 +02:00
2023-06-20 14:37:52 +02:00
2023-05-15 10:24:54 +02:00
2023-02-09 15:35:14 +01:00
2023-02-09 15:35:14 +01:00
2023-06-20 14:37:52 +02:00
2023-04-01 00:37:55 -04:00
2023-02-09 15:35:14 +01:00
2023-06-07 09:00:18 +02:00
2023-04-16 23:36:03 -03:00
2023-06-18 14:29:12 +02:00
2023-06-20 01:11:31 +02:00
2023-04-09 18:12:26 +08:00
2023-06-12 23:43:05 +02:00
2023-05-29 00:41:57 +02:00
2023-05-29 00:41:57 +02:00
2023-05-29 00:42:00 +02:00
2023-06-09 17:05:26 +02:00