From ccd425e7993ef0e76da7bf10c566d33f7acc7c6d Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 6 May 2008 09:16:36 +0000 Subject: Remove unnecessary parentheses from return calls. Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/gif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/gif.c') diff --git a/libavformat/gif.c b/libavformat/gif.c index 7b71faea93..b952fbe697 100644 --- a/libavformat/gif.c +++ b/libavformat/gif.c @@ -236,7 +236,7 @@ static int gif_image_write_header(ByteIOContext *pb, /* 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); } -- cgit v1.2.3