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

2019-03-27 Thread Lauri Kasanen
On Tue, 26 Mar 2019 22:00:54 +0100 Michael Niedermayer wrote: > On Tue, Mar 26, 2019 at 08:58:34AM +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 |

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

2019-03-26 Thread Michael Niedermayer
On Tue, Mar 26, 2019 at 08:58:34AM +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 | 10 -- > 1 file changed, 10 deletions(-) > > v2: Remove the

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

2019-03-26 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 | 10 -- 1 file changed, 10 deletions(-) v2: Remove the unconditional instead of the if'd clipping. I'll leave changing the bit pattern to others,