diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-14 17:53:58 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-19 18:46:56 +0200 |
commit | cc83f36b9d7c998f772f3456326ec9c5d43c169b (patch) | |
tree | b11f07e3cead73aee635fd55849a4114a24fb4b2 /libavfilter/vf_random.c | |
parent | 042af30303ead6a094c6608ca6f5419bb130ce88 (diff) | |
download | ffmpeg-cc83f36b9d7c998f772f3456326ec9c5d43c169b.tar.gz |
avcodec/hnm4video: Don't return nonsense error messages
The HNM 4 video decoder's init function claimed that an allocation
failed if the image dimensions are wrong. This is fixed in this commit:
The dimensions are checked before the allocations are attempted.
The check whether width * height is zero is redundant as
av_image_check_size() already checks for this; it has been removed.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavfilter/vf_random.c')
0 files changed, 0 insertions, 0 deletions