[FFmpeg-devel] [PATCH] Avoid-compiler-warning-unary-minus-operator-applied

Robert Nagy ronag89 at gmail.com
Sat Apr 14 15:28:53 CEST 2012


>
> That is strange, because, unless I am mistaken, the syntax in your patch is
> not valid C. And, still unless I am mistaken, ffmpeg can not be built with
> visual studio.
>

My mistake. I built a C++ application with it, not ffmpeg.

I guess

#define AVERROR(e) (-((int)e))

Would be the valid syntax?


More information about the ffmpeg-devel mailing list