aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mlpenc.c
diff options
context:
space:
mode:
authorBrian Kim <bkkim@google.com>2020-07-13 10:09:39 -0700
committerJames Almer <jamrial@gmail.com>2020-07-22 11:42:54 -0300
commitc40d36076ae695021505e8ca1a59a9be4009997c (patch)
treec757579cb079a4c07fb925ac327f17726d74f83a /libavcodec/mlpenc.c
parentfccbd1245f391c7ba455f72f7896a6e392d39dfa (diff)
downloadffmpeg-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/mlpenc.c')
0 files changed, 0 insertions, 0 deletions