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

Lauri Kasanen cand at gmx.com
Wed Mar 27 08:59:47 EET 2019


On Tue, 26 Mar 2019 22:00:54 +0100
Michael Niedermayer <michael at niedermayer.cc> 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 <cand at gmx.com>
> > ---
> >  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, there's so many funcs using 0x100.
> >
> > diff --git a/libswscale/output.c b/libswscale/output.c
> > index d7c53e6..d3401f0 100644
> > --- a/libswscale/output.c
> > +++ b/libswscale/output.c
>
> should be ok
>
> thanks

Applying.

- Lauri


More information about the ffmpeg-devel mailing list