[vlc-devel] [PATCH 09/10] avcodec: video: fix comparing signed/unsigned resolutions

Ilkka Ollakka ileoo at videolan.org
Mon Sep 5 09:40:43 CEST 2016


On Sun, Sep 04, 2016 at 05:38:22PM +0300, Rémi Denis-Courmont wrote:
> Le dimanche 4 septembre 2016, 15:30:13 ileoo at videolan.org a écrit :

> This is:

> a = b;
> if (b != c)
>     a = c;

> which can be simplified to:

> a = c;

> (and optimizing compilers might even do that).

True, modified patch

-- 
Ilkka Ollakka
Support your local Search and Rescue unit -- get lost.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20160905/38cb7706/attachment.sig>


More information about the vlc-devel mailing list