[MPlayer-cvslog] r37074 - trunk/gui/ui/render.c

ib subversion at mplayerhq.hu
Wed Mar 26 17:44:27 CET 2014


Author: ib
Date: Wed Mar 26 17:44:27 2014
New Revision: 37074

Log:
Remove unnecessary, bothering parentheses.

Modified:
   trunk/gui/ui/render.c

Modified: trunk/gui/ui/render.c
==============================================================================
--- trunk/gui/ui/render.c	Wed Mar 26 17:42:15 2014	(r37073)
+++ trunk/gui/ui/render.c	Wed Mar 26 17:44:27 2014	(r37074)
@@ -72,7 +72,7 @@ calclengthmmmmss:
                 break;
 
             case '4':
-                snprintf(trans, sizeof(trans), "%02d", (guiInfo.ElapsedTime / 60) % 60);
+                snprintf(trans, sizeof(trans), "%02d", guiInfo.ElapsedTime / 60 % 60);
                 av_strlcat(translation, trans, sizeof(translation));
                 break;
 
@@ -105,7 +105,7 @@ calclengthmmmmss:
                     break;
 
                 case 2:
-                    av_strlcat(translation, (guiInfo.AudioPassthrough ? "r" : "t"), sizeof(translation));
+                    av_strlcat(translation, guiInfo.AudioPassthrough ? "r" : "t", sizeof(translation));
                     break;
 
                 default:


More information about the MPlayer-cvslog mailing list