[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec h264.c,1.142,1.143

Dario Andrade dario
Wed Jul 6 20:28:19 CEST 2005


> > Modified Files:
> > 	h264.c
> > Log Message:
> > parenthesing to avoid compiler errors in the future - compared asm
> outputs, behaviour didnt changed
> 
> This can NEVER be an error -- it's 100% valid C. However if you want
> to silence stupid gcc warnings it's ok.
> 
> Rich
> 

And warnings are not errors :-) It's just a way for the compiler to gently
request our attention to possible misinterpretations (sometimes you may not
see it, but although it's valid C code, you wanted to write something else
instead).

Anyway, I am 100% in favor of "fixing" code to remove all gcc warnings. It's
a good programming practice.

Cheers,
Dario





More information about the ffmpeg-cvslog mailing list