On Thu, 2016-08-11 at 09:50 +0100, Frediano Ziglio wrote: > Reduce structure length using static allocated string inside the > structure. > This will also avoid using .data.rel.ro section and relocations > reducing even more library size. ok > > Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> Acked-by: Pavel Grunt <pgrunt@xxxxxxxxxx> > --- > server/gstreamer-encoder.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/server/gstreamer-encoder.c b/server/gstreamer-encoder.c > index 78d4f74..1221612 100644 > --- a/server/gstreamer-encoder.c > +++ b/server/gstreamer-encoder.c > @@ -40,7 +40,7 @@ > > typedef struct { > SpiceBitmapFmt spice_format; > - const char *format; > + char format[8]; > uint32_t bpp; > uint32_t depth; > uint32_t endianness; _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel