diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-05-06 09:16:36 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-05-06 09:16:36 +0000 |
commit | ccd425e7993ef0e76da7bf10c566d33f7acc7c6d (patch) | |
tree | 29a2af2f8eb50c22d5b23cca7763d9d507273cab /libavformat/gif.c | |
parent | 91605c69fb79bc37e7b8ae756b42bbe1f3cf5423 (diff) | |
download | ffmpeg-ccd425e7993ef0e76da7bf10c566d33f7acc7c6d.tar.gz |
Remove unnecessary parentheses from return calls.
Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/gif.c')
-rw-r--r-- | libavformat/gif.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |