diff gif.c @ 3278:1de87c1b6a12 libavformat

Remove unnecessary parentheses from return calls.
author diego
date Tue, 06 May 2008 09:16:36 +0000
parents ae1f1ef873ef
children 6f61c3b36632
line wrap: on
line diff
--- a/gif.c	Mon May 05 09:17:56 2008 +0000
+++ b/gif.c	Tue May 06 09:16:36 2008 +0000
@@ -236,7 +236,7 @@
 /* this is maybe slow, but allows for extensions */
 static inline unsigned char gif_clut_index(uint8_t r, uint8_t g, uint8_t b)
 {
-    return ((((r)/47)%6)*6*6+(((g)/47)%6)*6+(((b)/47)%6));
+    return (((r) / 47) % 6) * 6 * 6 + (((g) / 47) % 6) * 6 + (((b) / 47) % 6);
 }