1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-09 14:14:39 +02:00
FFmpeg/libavcodec
Jiasheng Jiang c4d63dbc94 avcodec/vp6: return value check for av_mallocz
As the potential failure of the av_mallocz(), the 's->alpha_context'
could be NULL and be dereferenced later.
Therefore, it should be better to check it and deal with it if fails
in order to prevent memory leak, same as the av_frame_alloc() in
ff_vp56_init().

Fixes: 39a3894ad5 ("lavc/vp6: Implement "slice" threading for VP6A decode")
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
2022-02-11 16:29:50 +11:00
..
2021-07-22 14:47:57 +02:00
2021-07-08 20:10:01 +02:00
2022-02-07 00:31:23 +01:00
2022-02-07 00:31:23 +01:00
2021-10-03 11:42:15 +02:00
2021-07-22 14:47:57 +02:00
2021-09-05 22:22:05 +02:00
2022-02-07 00:31:23 +01:00
2021-10-08 20:37:36 +11:00
2021-10-08 20:37:36 +11:00
2022-01-04 13:16:49 +01:00
2022-01-04 13:16:49 +01:00
2021-07-22 14:47:57 +02:00
2022-02-07 00:31:23 +01:00
2021-07-22 14:47:57 +02:00
2021-08-05 19:46:33 +02:00
2021-07-08 20:10:17 +02:00
2022-01-13 08:28:56 +01:00
2022-01-26 15:30:28 +01:00
2021-10-09 11:42:16 +02:00
2021-12-03 16:09:14 +01:00
2021-12-03 16:09:14 +01:00
2022-02-07 00:31:23 +01:00
2022-02-07 00:31:23 +01:00
2021-07-22 14:47:57 +02:00
2021-10-02 18:49:40 +02:00
2021-05-05 14:17:03 +02:00
2021-07-08 20:10:17 +02:00
2022-02-07 00:31:23 +01:00
2021-07-22 15:02:30 +02:00
2021-07-22 14:47:57 +02:00
2021-10-10 17:44:41 +02:00
2022-01-26 15:30:28 +01:00
2021-07-22 14:47:57 +02:00
2021-09-12 22:23:35 +02:00