[x265-commits] [x265] dpb: fix msvc int to bool conversion warning
Steve Borho
steve at borho.org
Wed Feb 4 21:32:30 CET 2015
details: http://hg.videolan.org/x265/rev/f067daf69558
branches:
changeset: 9295:f067daf69558
user: Steve Borho <steve at borho.org>
date: Wed Feb 04 14:24:28 2015 -0600
description:
dpb: fix msvc int to bool conversion warning
diffstat:
source/encoder/dpb.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r ba1e85e58035 -r f067daf69558 source/encoder/dpb.h
--- a/source/encoder/dpb.h Wed Feb 04 17:38:48 2015 +0800
+++ b/source/encoder/dpb.h Wed Feb 04 14:24:28 2015 -0600
@@ -57,7 +57,7 @@ public:
m_maxRefL0 = param->maxNumReferences;
m_maxRefL1 = param->bBPyramid ? 2 : 1;
m_bOpenGOP = param->bOpenGOP;
- m_bTemporalSublayer = param->bEnableTemporalSubLayers;
+ m_bTemporalSublayer = !!param->bEnableTemporalSubLayers;
}
~DPB();
More information about the x265-commits
mailing list