Re: [FFmpeg-devel] [PATCH] swscale: Remove duplicated code

2019-03-25 Thread Michael Niedermayer
On Mon, Mar 25, 2019 at 12:36:24PM +0100, Hendrik Leppkes wrote: > On Mon, Mar 25, 2019 at 11:35 AM Lauri Kasanen wrote: > > > > On Mon, 25 Mar 2019 11:17:38 +0100 > > Michael Niedermayer wrote: > > > > > On Sun, Mar 24, 2019 at 01:04:51PM +0200, Lauri Kasanen wrote: > > > > In this function, the

Re: [FFmpeg-devel] [PATCH] swscale: Remove duplicated code

2019-03-25 Thread Michael Niedermayer
On Mon, Mar 25, 2019 at 12:37:37PM +0200, Lauri Kasanen wrote: > On Mon, 25 Mar 2019 11:17:38 +0100 > Michael Niedermayer wrote: > > > On Sun, Mar 24, 2019 at 01:04:51PM +0200, Lauri Kasanen wrote: > > > In this function, the exact same clamping happens both in the if and > > > unconditionally.

Re: [FFmpeg-devel] [PATCH] swscale: Remove duplicated code

2019-03-25 Thread Hendrik Leppkes
On Mon, Mar 25, 2019 at 11:35 AM Lauri Kasanen wrote: > > On Mon, 25 Mar 2019 11:17:38 +0100 > Michael Niedermayer wrote: > > > On Sun, Mar 24, 2019 at 01:04:51PM +0200, Lauri Kasanen wrote: > > > In this function, the exact same clamping happens both in the if and > > > unconditionally. > > > >

Re: [FFmpeg-devel] [PATCH] swscale: Remove duplicated code

2019-03-25 Thread Lauri Kasanen
On Mon, 25 Mar 2019 11:17:38 +0100 Michael Niedermayer wrote: > On Sun, Mar 24, 2019 at 01:04:51PM +0200, Lauri Kasanen wrote: > > In this function, the exact same clamping happens both in the if and > > unconditionally. > > > > Signed-off-by: Lauri Kasanen > > --- > > libswscale/output.c | 14

Re: [FFmpeg-devel] [PATCH] swscale: Remove duplicated code

2019-03-25 Thread Michael Niedermayer
On Sun, Mar 24, 2019 at 01:04:51PM +0200, Lauri Kasanen wrote: > In this function, the exact same clamping happens both in the if and > unconditionally. > > Signed-off-by: Lauri Kasanen > --- > libswscale/output.c | 14 -- > 1 file changed, 14 deletions(-) The removed code is the o

[FFmpeg-devel] [PATCH] swscale: Remove duplicated code

2019-03-24 Thread Lauri Kasanen
In this function, the exact same clamping happens both in the if and unconditionally. Signed-off-by: Lauri Kasanen --- libswscale/output.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/libswscale/output.c b/libswscale/output.c index d7c53e6..8441ddd 100644 --- a/libswscale/