]> git.sesse.net Git - ffmpeg/commitdiff
lavfi/palettegen: Fix compilation after 1da8c4e.
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>
Sun, 29 Oct 2017 00:35:36 +0000 (02:35 +0200)
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>
Sun, 29 Oct 2017 00:35:36 +0000 (02:35 +0200)
Found-by: James Almer
libavfilter/vf_palettegen.c

index 2a04ae5c4d8bdaa4303670fd4f999103b044027c..5ff73e6b2b0d9cd7b69fb8102cc47961dd62a8df 100644 (file)
@@ -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)