GUAC-240: Rename optimality function to match convention used elsewhere in this file.

This commit is contained in:
Michael Jumper 2015-08-17 16:14:57 -07:00
parent 16fd8f6c7d
commit 5dc5a9dbca

View File

@ -327,7 +327,7 @@ static unsigned int __guac_common_surface_calculate_framerate(
* Positive values if PNG compression is likely to perform better than * Positive values if PNG compression is likely to perform better than
* JPEG, or negative values if JPEG is likely to perform better than PNG. * JPEG, or negative values if JPEG is likely to perform better than PNG.
*/ */
static int guac_common_surface_png_optimality(guac_common_surface* surface, static int __guac_common_surface_png_optimality(guac_common_surface* surface,
const guac_common_rect* rect) { const guac_common_rect* rect) {
int x, y; int x, y;
@ -399,7 +399,7 @@ static int __guac_common_surface_should_use_jpeg(guac_common_surface* surface,
/* JPEG is preferred if framerate is high enough */ /* JPEG is preferred if framerate is high enough */
return framerate >= GUAC_COMMON_SURFACE_JPEG_FRAMERATE return framerate >= GUAC_COMMON_SURFACE_JPEG_FRAMERATE
&& guac_common_surface_png_optimality(surface, rect) < 0; && __guac_common_surface_png_optimality(surface, rect) < 0;
} }