[Ffmpeg-devel] More signed fun

Måns Rullgård mru
Thu Mar 23 11:32:53 CET 2006


Steve Lhomme said:
> Hi,
>
> Depending on how your preprocessor handle data, not using () in macros
> can lead to problems. Like interpreting (- - variable) (invalid C
> syntax)instead of -(-variable). Here is a fix.

- -x is perfectly valid C syntax.  If your compiler chokes on it, it's broken.

That said, the fix is appropriate for other reasons.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list