diff options
author | AlexisWilke <alexis@m2osw.com> | 2021-01-04 10:11:01 -0800 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-01-12 00:17:30 -0300 |
commit | ca21cb1e36ccae2ee71d4299d477fa9284c1f551 (patch) | |
tree | bf7292107b7fccd864cba2e2e6e92188fdde5839 /libavutil/rational.h | |
parent | 88519be8db66811e203408b413d9039ac9c3fe91 (diff) | |
download | ffmpeg-ca21cb1e36ccae2ee71d4299d477fa9284c1f551.tar.gz |
avformat/allformats: test pointer to be used
Two tests check the opposite pointer before using it. If only one of these
is set to a valid pointer, one of these functions will crash, the other will
ignore the pointer.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/rational.h')
0 files changed, 0 insertions, 0 deletions