[x265-commits] [x265] slicetype: fix unintended assignment

Steve Borho steve at borho.org
Fri May 16 04:30:48 CEST 2014


details:   http://hg.videolan.org/x265/rev/7533425d5060
branches:  
changeset: 6867:7533425d5060
user:      Steve Borho <steve at borho.org>
date:      Fri May 16 08:00:23 2014 +0530
description:
slicetype: fix unintended assignment

diffstat:

 source/encoder/slicetype.cpp |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r d95ad61c8abc -r 7533425d5060 source/encoder/slicetype.cpp
--- a/source/encoder/slicetype.cpp	Thu May 08 16:48:56 2014 +0530
+++ b/source/encoder/slicetype.cpp	Fri May 16 08:00:23 2014 +0530
@@ -1148,7 +1148,7 @@ int64_t Lookahead::frameCostRecalculate(
 {
     int64_t score = 0;
     int *rowSatd = frames[b]->rowSatds[b - p0][p1 - b];
-    double *qp_offset = (frames[b]->sliceType = X265_TYPE_B) ? frames[b]->qpAqOffset : frames[b]->qpOffset;
+    double *qp_offset = (frames[b]->sliceType == X265_TYPE_B) ? frames[b]->qpAqOffset : frames[b]->qpOffset;
 
     x265_emms();
     for (int cuy = heightInCU - 1; cuy >= 0; cuy--)


More information about the x265-commits mailing list