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/movenc.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/movenc.c')
-rw-r--r-- | libavformat/movenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index b5b4da95f5..5ded25076e 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1247,7 +1247,7 @@ static int ascii_to_wc (ByteIOContext *pb, const uint8_t *b) static uint16_t language_code (const char *str) { - return ((((str[0]-0x60) & 0x1F)<<10) + (((str[1]-0x60) & 0x1F)<<5) + ((str[2]-0x60) & 0x1F)); + return (((str[0]-0x60) & 0x1F) << 10) + (((str[1]-0x60) & 0x1F) << 5) + ((str[2]-0x60) & 0x1F); } static int mov_write_uuidusmt_tag (ByteIOContext *pb, AVFormatContext *s) |