diff movenc.c @ 3278:1de87c1b6a12 libavformat

Remove unnecessary parentheses from return calls.
author diego
date Tue, 06 May 2008 09:16:36 +0000
parents a6a78c1cbf33
children 330712116269
line wrap: on
line diff
--- a/movenc.c	Mon May 05 09:17:56 2008 +0000
+++ b/movenc.c	Tue May 06 09:16:36 2008 +0000
@@ -1247,7 +1247,7 @@
 
 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)