lottie/stb: fixed warning regarding unused function. 33/197533/2
authorsubhransu mohanty <sub.mohanty@samsung.com>
Mon, 14 Jan 2019 01:50:04 +0000 (10:50 +0900)
committersubhransu mohanty <sub.mohanty@samsung.com>
Tue, 15 Jan 2019 05:02:48 +0000 (14:02 +0900)
Change-Id: I4558829cc73135bcf5d454e97e13db5925df1655

src/vector/stb/stb_image.h

index d9c21bc..d284fd0 100644 (file)
@@ -1070,6 +1070,7 @@ static void stbi__vertical_flip(void *image, int w, int h, int bytes_per_pixel)
    }
 }
 
+#ifndef STBI_NO_GIF
 static void stbi__vertical_flip_slices(void *image, int w, int h, int z, int bytes_per_pixel)
 {
    int slice;
@@ -1081,6 +1082,7 @@ static void stbi__vertical_flip_slices(void *image, int w, int h, int z, int byt
       bytes += slice_size; 
    }
 }
+#endif
 
 static unsigned char *stbi__load_and_postprocess_8bit(stbi__context *s, int *x, int *y, int *comp, int req_comp)
 {