[FFmpeg-devel] [PATCH 20/20] avformat/matroskaenc: Cosmetics

Moritz Barsnick barsnick at gmx.net
Mon Apr 6 12:17:12 EEST 2020


On Mon, Apr 06, 2020 at 11:05:50 +0200, Andreas Rheinhardt wrote:
> > Isn't the extra set of brackets there to tell the compiler that the
> > assignment is on purpose?
> The assignment is already on purpose without these extra brackets.
> (What compiler thinks it is not on purpose? By "thinks" you mean: emits
> a warning for this (because of potential confusion with ==), don't you?
> If so, you should already get thousands of warnings when compiling FFmpeg.)

Yes, I meant warnings.

Moritz


More information about the ffmpeg-devel mailing list