Re: [FFmpeg-devel] [PATCH]lavfi/rotate: Fix undefined behaviour

2022-09-04 Thread Michael Koch
/Also, shouldn't the same change be done also to interpolate_bilinear8? / I was unable to reproduce with 8-bit input. When I tested it, the issue was reproducible only with 14-bit and 16-bit input. 12-bit did work. ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH]lavfi/rotate: Fix undefined behaviour

2022-09-03 Thread Carl Eugen Hoyos
Am Fr., 2. Sept. 2022 um 09:04 Uhr schrieb Anton Khirnov : > > Quoting Carl Eugen Hoyos (2022-09-01 21:28:08) > > Hi! > > > > Attached patch fixes ticket #9799. > > > > Please comment, Carl Eugen > > > > From 2cce687961c3b56a92d88184269bf9fa075ae297 Mon Sep 17 00:00:00 2001 > > From: Carl Eugen

Re: [FFmpeg-devel] [PATCH]lavfi/rotate: Fix undefined behaviour

2022-09-02 Thread Anton Khirnov
Quoting Carl Eugen Hoyos (2022-09-01 21:28:08) > Hi! > > Attached patch fixes ticket #9799. > > Please comment, Carl Eugen > > From 2cce687961c3b56a92d88184269bf9fa075ae297 Mon Sep 17 00:00:00 2001 > From: Carl Eugen Hoyos > Date: Thu, 1 Sep 2022 20:55:54 +0200 > Subject: [PATCH] lavfi/rotate:

[FFmpeg-devel] [PATCH]lavfi/rotate: Fix undefined behaviour

2022-09-01 Thread Carl Eugen Hoyos
Hi! Attached patch fixes ticket #9799. Please comment, Carl Eugen From 2cce687961c3b56a92d88184269bf9fa075ae297 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Thu, 1 Sep 2022 20:55:54 +0200 Subject: [PATCH] lavfi/rotate: Avoid undefined behaviour. Fixes the following integer overflows: