IMAGE: Fix build when not using libjpeg-turbo

This commit is contained in:
Bastien Bouclet 2019-04-28 09:18:07 +02:00
parent 8ffa737901
commit efcd8ab270

View File

@ -184,6 +184,7 @@ void outputMessage(j_common_ptr cinfo) {
}
J_COLOR_SPACE fromScummvmPixelFormat(const Graphics::PixelFormat &format) {
#if defined(JCS_EXTENSIONS) or defined(JCS_ALPHA_EXTENSIONS)
struct PixelFormatMapping {
Graphics::PixelFormat pixelFormat;
J_COLOR_SPACE bigEndianColorSpace;
@ -219,6 +220,7 @@ J_COLOR_SPACE fromScummvmPixelFormat(const Graphics::PixelFormat &format) {
#endif
}
}
#endif
return JCS_UNKNOWN;
}