[x265-commits] [x265] param: nits

Steve Borho steve at borho.org
Fri Feb 20 16:29:40 CET 2015


details:   http://hg.videolan.org/x265/rev/9391c286ba55
branches:  
changeset: 9382:9391c286ba55
user:      Steve Borho <steve at borho.org>
date:      Wed Feb 18 20:38:49 2015 -0600
description:
param: nits

diffstat:

 source/common/param.cpp |  4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diffs (23 lines):

diff -r d34f9d23b370 -r 9391c286ba55 source/common/param.cpp
--- a/source/common/param.cpp	Thu Feb 19 13:06:32 2015 -0600
+++ b/source/common/param.cpp	Wed Feb 18 20:38:49 2015 -0600
@@ -929,9 +929,7 @@ void setParamAspectRatio(x265_param *p, 
 void getParamAspectRatio(x265_param *p, int& width, int& height)
 {
     if (!p->vui.aspectRatioIdc)
-    {
         width = height = 0;
-    }
     else if ((size_t)p->vui.aspectRatioIdc <= sizeof(fixedRatios) / sizeof(fixedRatios[0]))
     {
         width  = fixedRatios[p->vui.aspectRatioIdc - 1][0];
@@ -943,9 +941,7 @@ void getParamAspectRatio(x265_param *p, 
         height = p->vui.sarHeight;
     }
     else
-    {
         width = height = 0;
-    }
 }
 
 static inline int _confirm(x265_param *param, bool bflag, const char* message)


More information about the x265-commits mailing list