aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_random.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-14 17:53:58 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-19 18:46:56 +0200
commitcc83f36b9d7c998f772f3456326ec9c5d43c169b (patch)
treeb11f07e3cead73aee635fd55849a4114a24fb4b2 /libavfilter/vf_random.c
parent042af30303ead6a094c6608ca6f5419bb130ce88 (diff)
downloadffmpeg-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