[FFmpeg-devel] [PATCH 2/3] lavf/aviobuf: make AVSEEK_SIZE usable from outside.
Nicolas George
george at nsup.org
Sat Jul 20 00:49:04 EEST 2019
Michael Niedermayer (12019-07-19):
> > + if ((whence & AVSEEK_SIZE))
> redundant ()
I use it as a marker that it is not a mistake for &&. IIRC, gcc (with
some options) warns about "if (a & b)" but accepts "if ((a & b))", and
that is the preferred way. We already have a few instances in the code
base, not all of them mine.
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190719/ad779c91/attachment.sig>
More information about the ffmpeg-devel
mailing list