diff options
author | Soft Works <softworkz@hotmail.com> | 2021-09-26 17:23:01 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2021-10-13 18:52:14 +0200 |
commit | 73fe19f09c38cb35f659c7d972bda3837b626ff8 (patch) | |
tree | 5eeb9050902acb733da11aefc94e13a5474c9ba5 /libavfilter | |
parent | dea673d0d548c864ec85f9260d8900d944ef7a2a (diff) | |
download | ffmpeg-73fe19f09c38cb35f659c7d972bda3837b626ff8.tar.gz |
avfilter/vf_palettegen: cosmetic changes
Signed-off-by: softworkz <softworkz@hotmail.com>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_palettegen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_palettegen.c b/libavfilter/vf_palettegen.c index 5aabda5fb7..4f53aa1aad 100644 --- a/libavfilter/vf_palettegen.c +++ b/libavfilter/vf_palettegen.c @@ -266,7 +266,7 @@ static void write_palette(AVFilterContext *ctx, AVFrame *out) if (box_id < s->nb_boxes) { pal[x] = s->boxes[box_id++].color; if ((x || y) && pal[x] == last_color) - av_log(ctx, AV_LOG_WARNING, "Dupped color: %08"PRIX32"\n", pal[x]); + av_log(ctx, AV_LOG_WARNING, "Duped color: %08"PRIX32"\n", pal[x]); last_color = pal[x]; } else { pal[x] = last_color; // pad with last color @@ -438,7 +438,7 @@ static inline unsigned color_hash(uint32_t color, int use_alpha) return a << (NBITS * 3) | r << (NBITS * 2) | g << NBITS | b; } - return r<<(NBITS*2) | g<<NBITS | b; + return r << (NBITS * 2) | g << NBITS | b; } /** |