[FFmpeg-cvslog] lavfi/palettegen: Fix compilation after 1da8c4e.

Carl Eugen Hoyos git at videolan.org
Sun Oct 29 03:36:15 EEST 2017


ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Sun Oct 29 02:35:36 2017 +0200| [8b43039fe19cacb8e7e0950ae50851cb91fa34e4] | committer: Carl Eugen Hoyos

lavfi/palettegen: Fix compilation after 1da8c4e.

Found-by: James Almer

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8b43039fe19cacb8e7e0950ae50851cb91fa34e4
---

 libavfilter/vf_palettegen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_palettegen.c b/libavfilter/vf_palettegen.c
index 2a04ae5c4d..5ff73e6b2b 100644
--- 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)



More information about the ffmpeg-cvslog mailing list