[x264-devel] Patch: C89 compatibility for msvc

Jean-Baptiste Kempf jb at videolan.org
Thu Mar 20 00:06:00 CET 2014


On 13 Mar, Matt Oliver wrote :
> OK here is an even simpler updated patch that fixes both libx264 and the
> x2645cli compilation so that it can be performed natively using MSVC.
> Tested using Visual Studio 2013 and also tested using gcc 4.8.2 to ensure
> nothing was affected in any other build chains. From the patch though you
> can see that the changes are so small that this was unlikly.

Adding {} around return is a bit ridiculous. This is a known VS 2013
bug. Please update to update 2 CTP.

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the x264-devel mailing list