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

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


On Sun, Apr 05, 2020 at 17:59:28 +0200, Andreas Rheinhardt wrote:
> -        if ((t = av_dict_get(c->metadata, "title", NULL, 0))) {
> +        if (t = av_dict_get(c->metadata, "title", NULL, 0)) {

Isn't the extra set of brackets there to tell the compiler that the
assignment is on purpose?

Moritz


More information about the ffmpeg-devel mailing list