summaryrefslogtreecommitdiffstats
path: root/libavformat/movenc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-05-06 09:16:36 +0000
committerDiego Biurrun <diego@biurrun.de>2008-05-06 09:16:36 +0000
commitccd425e7993ef0e76da7bf10c566d33f7acc7c6d (patch)
tree29a2af2f8eb50c22d5b23cca7763d9d507273cab /libavformat/movenc.c
parent91605c69fb79bc37e7b8ae756b42bbe1f3cf5423 (diff)
downloadffmpeg-streaming-ccd425e7993ef0e76da7bf10c566d33f7acc7c6d.zip
ffmpeg-streaming-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index b5b4da9..5ded250 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)
OpenPOWER on IntegriCloud