diff options
author | Brian Kim <bkkim@google.com> | 2020-07-13 10:09:37 -0700 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-07-22 11:41:57 -0300 |
commit | 3a8e9271765a07e509655346ef88a28578cbff47 (patch) | |
tree | fc08c101d0352a09bb07103d4221c4cc1683bbd9 /libavcodec/x86/jpeg2000dsp_init.c | |
parent | b5f1e057e1d102606156fd982eea5d74b305fc74 (diff) | |
download | ffmpeg-3a8e9271765a07e509655346ef88a28578cbff47.tar.gz |
avutil/imgutils: add utility to get plane sizes
This utility helps avoid undefined behavior when doing things like
checking how much memory we need to allocate for an image before we have
allocated a buffer.
Signed-off-by: Brian Kim <bkkim@google.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/x86/jpeg2000dsp_init.c')
0 files changed, 0 insertions, 0 deletions