[x265] [PATCH] fix warning C4701: potentially uninitialized local variable 'scanPos' used
Min Chen
chenm003 at 163.com
Tue May 5 02:23:52 CEST 2015
# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1430785419 25200
# Node ID c678fc7831bb38f311e51648e79c8b7ec98a594b
# Parent 28d7e7582028b76afb9faf885a35e293d77e437f
fix warning C4701: potentially uninitialized local variable 'scanPos' used
---
source/common/quant.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff -r 28d7e7582028 -r c678fc7831bb source/common/quant.cpp
--- a/source/common/quant.cpp Mon May 04 12:57:08 2015 -0500
+++ b/source/common/quant.cpp Mon May 04 17:23:39 2015 -0700
@@ -592,7 +592,7 @@
/* TODO: update bit estimates if dirty */
EstBitsSbac& estBitsSbac = m_entropyCoder->m_estBitsSbac;
- uint32_t scanPos;
+ uint32_t scanPos = 0;
uint32_t c1 = 1;
// process trail all zero Coeff Group
More information about the x265-devel
mailing list