diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-05-06 13:16:36 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-05-06 13:16:36 +0400 |
commit | ccd425e7993ef0e76da7bf10c566d33f7acc7c6d (patch) | |
tree | 29a2af2f8eb50c22d5b23cca7763d9d507273cab /libavcodec/vmdav.c | |
parent | 91605c69fb79bc37e7b8ae756b42bbe1f3cf5423 (diff) |
Remove unnecessary parentheses from return calls.
Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vmdav.c')
-rw-r--r-- | libavcodec/vmdav.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/vmdav.c b/libavcodec/vmdav.c index 00b0f59af3..0732eac86b 100644 --- a/libavcodec/vmdav.c +++ b/libavcodec/vmdav.c @@ -162,13 +162,13 @@ static int rle_unpack(const unsigned char *src, unsigned char *dest, if (l & 0x80) { l = (l & 0x7F) * 2; if (pd + l > dest_end) - return (ps - src); + return ps - src; memcpy(pd, ps, l); ps += l; pd += l; } else { if (pd + i > dest_end) - return (ps - src); + return ps - src; for (i = 0; i < l; i++) { *pd++ = ps[0]; *pd++ = ps[1]; @@ -178,7 +178,7 @@ static int rle_unpack(const unsigned char *src, unsigned char *dest, i += l; } while (i < src_len); - return (ps - src); + return ps - src; } static void vmd_decode(VmdVideoContext *s) |