diff options
author | Brian Kim <bkkim@google.com> | 2020-07-13 10:09:39 -0700 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-07-22 11:42:54 -0300 |
commit | c40d36076ae695021505e8ca1a59a9be4009997c (patch) | |
tree | c757579cb079a4c07fb925ac327f17726d74f83a /libavcodec/alpha/me_cmp_alpha.c | |
parent | fccbd1245f391c7ba455f72f7896a6e392d39dfa (diff) | |
download | ffmpeg-c40d36076ae695021505e8ca1a59a9be4009997c.tar.gz |
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 <bkkim@google.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/alpha/me_cmp_alpha.c')
0 files changed, 0 insertions, 0 deletions