On Mon, Jun 22, 2020 at 14:24:19 +0200, Valery Kot wrote:
> On Mon, Jun 22, 2020 at 12:54 PM Moritz Barsnick <barsn...@gmx.net> wrote:
> > NOT of a logical OR can be inverted, so this *may* be more readable as:
> >                if ((i && i != w - 1 && j && j != h - 1) &&
> Indeed, those three are equivalent. Complex logical conditions can be
> written in different ways. I chose mine to minimize change, assuming
> that there was just a typo in original algo implementation.

No problem, I agree a one-byte change maybe more acceptable.

Moritz
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to