[Ffmpeg-devel] More signed fun

Steve Lhomme steve.lhomme
Thu Mar 23 11:41:52 CET 2006

M?ns Rullg?rd wrote:
> 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.

I wrote it that way, but what is produced here is "--1". Is that valid too ?


More information about the ffmpeg-devel mailing list