projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1da8c4e
)
lavfi/palettegen: Fix compilation after 1da8c4e.
author
Carl Eugen Hoyos
<ceffmpeg@gmail.com>
Sun, 29 Oct 2017 00:35:36 +0000
(
02:35
+0200)
committer
Carl Eugen Hoyos
<ceffmpeg@gmail.com>
Sun, 29 Oct 2017 00:35:36 +0000
(
02:35
+0200)
Found-by: James Almer
libavfilter/vf_palettegen.c
patch
|
blob
|
history
diff --git
a/libavfilter/vf_palettegen.c
b/libavfilter/vf_palettegen.c
index
2a04ae5
..
5ff73e6
100644
(file)
--- a/
libavfilter/vf_palettegen.c
+++ b/
libavfilter/vf_palettegen.c
@@
-75,7
+75,7
@@
typedef struct PaletteGenContext {
struct range_box boxes[256]; // define the segmentation of the colorspace (the final palette)
int nb_boxes; // number of boxes (increase will segmenting them)
int palette_pushed; // if the palette frame is pushed into the outlink or not
- uint8_t
[4] transparency_color
; // background color for transparency
+ uint8_t
transparency_color[4]
; // background color for transparency
} PaletteGenContext;
#define OFFSET(x) offsetof(PaletteGenContext, x)