diff options
author | Brian Kim <[email protected]> | 2020-07-13 10:09:39 -0700 |
---|---|---|
committer | James Almer <[email protected]> | 2020-07-22 11:42:54 -0300 |
commit | c40d36076ae695021505e8ca1a59a9be4009997c (patch) | |
tree | c757579cb079a4c07fb925ac327f17726d74f83a /tests/checkasm/checkasm.c | |
parent | fccbd1245f391c7ba455f72f7896a6e392d39dfa (diff) |
libavcodec/decode: avoid UB when getting plane sizes
This uses av_image_fill_plane_sizes instead of av_image_fill_pointers
when we are getting plane sizes to avoid UB from adding offsets to NULL.
Signed-off-by: Brian Kim <[email protected]>
Signed-off-by: James Almer <[email protected]>
Diffstat (limited to 'tests/checkasm/checkasm.c')
0 files changed, 0 insertions, 0 deletions