[FFmpeg-devel] [PATCH] avfilter/palettegen, paletteuse: Extend the palette conversion filters to support palettes with alpha

Soft Works softworkz at hotmail.com
Sun Sep 26 20:33:42 EEST 2021



> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> Michael Niedermayer
> Sent: Sunday, 26 September 2021 19:01
> To: FFmpeg development discussions and patches <ffmpeg-
> devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH] avfilter/palettegen, paletteuse:
> Extend the palette conversion filters to support palettes with alpha
> 

A general coding question on the use of the comma operator:

  if (dx <= 0) nearer_kd_id = kd->left_id,  further_kd_id = kd->right_id;
  else         nearer_kd_id = kd->right_id, further_kd_id = kd->left_id;

I was tempted to change this, but I'm not sure how it is considered 
by the developers here?


softworkz


More information about the ffmpeg-devel mailing list