jpeg-encoder: Avoid useless conversions

Enterprise / Virtualization / SPICE - Frediano Ziglio [redhat.com] - 26 June 2018 17:04 EDT

Define JpegEncoderContext as an abstract structure. This allows to reduce casts. Also remove some alignment warnings on some architecture like mips.

a8e88a99 jpeg-encoder: Avoid useless conversions
server/jpeg-encoder.c | 14 +++++++-------
server/jpeg-encoder.h | 2 +-
2 files changed, 8 insertions(+), 8 deletions(-)

Upstream: cgit.freedesktop.org


  • Share