diff options
author | Brian Kim <bkkim@google.com> | 2020-07-13 10:09:38 -0700 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-07-22 11:42:54 -0300 |
commit | fccbd1245f391c7ba455f72f7896a6e392d39dfa (patch) | |
tree | 5ecdccad2eae94272519082079da3e0c8710b97d /libavcodec/hevc_parse.h | |
parent | 3a8e9271765a07e509655346ef88a28578cbff47 (diff) | |
download | ffmpeg-fccbd1245f391c7ba455f72f7896a6e392d39dfa.tar.gz |
libavutil/frame: 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/hevc_parse.h')
0 files changed, 0 insertions, 0 deletions