[FFmpeg-devel] [PATCH] Fix warning in decode_residual (in h264_cavlc.c)

Måns Rullgård mans
Thu Jul 1 00:23:21 CEST 2010


Stefan Gehrer <stefan.gehrer at gmx.de> writes:

> On 06/27/2010 11:30 PM, Eli Friedman wrote:
>> Patch attached.  Fixes warning "suggest parentheses around comparison
>> in operand of `&'".
>
> I was under the impression that many of the contributors
> prefer to write the code with the least parentheses possible
> and that it is up to the reader of the code to know the operator
> precedence of C.
> In that case it would make more sense to switch that warning off
> by using the appropriate compiler flag.

I'll gladly switch it off if that's what people want.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list