mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-11 06:58:18 +00:00
avfilter/vf_paletteuse: Add missing parentheses
Fixes a mistake in dea673d0d5
.
GCC emitted a -Wint-in-bool-context warning because of that.
Reviewed-by: Soft Works <softworkz@hotmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
6fdd7fe0b8
commit
f5e74e8d48
@ -811,7 +811,7 @@ static void debug_mean_error(PaletteUseContext *s, const AVFrame *in1,
|
||||
uint8_t *src2 = in2->data[0];
|
||||
const int src1_linesize = in1->linesize[0] >> 2;
|
||||
const int src2_linesize = in2->linesize[0];
|
||||
const float div = in1->width * in1->height * s->use_alpha ? 4 : 3;
|
||||
const float div = in1->width * in1->height * (s->use_alpha ? 4 : 3);
|
||||
unsigned mean_err = 0;
|
||||
|
||||
for (y = 0; y < in1->height; y++) {
|
||||
|
Loading…
Reference in New Issue
Block a user