[FFmpeg-devel] [PATCH 17/24] sws: move the early return for zero-sized slices higher up
Michael Niedermayer
michael at niedermayer.cc
Tue Jun 1 15:32:47 EEST 2021
On Mon, May 31, 2021 at 09:55:08AM +0200, Anton Khirnov wrote:
> Place it right after the input parameter validation. There is no point
> in performing any setup if the sws_scale() call won't do anything.
> ---
> libswscale/swscale.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
LGTM
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210601/d840ceea/attachment.sig>
More information about the ffmpeg-devel
mailing list