mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-09 14:11:47 +00:00
gstreamer: Peephole optimisation for SpiceFormatForGStreamer
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. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Pavel Grunt <pgrunt@redhat.com>
This commit is contained in:
parent
62cc9643c3
commit
0a13066396
@ -40,7 +40,7 @@
|
||||
|
||||
typedef struct {
|
||||
SpiceBitmapFmt spice_format;
|
||||
const char *format;
|
||||
char format[8];
|
||||
uint32_t bpp;
|
||||
uint32_t depth;
|
||||
uint32_t endianness;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user