summaryrefslogtreecommitdiff
path: root/vp8/common/generic
diff options
context:
space:
mode:
authorJim Bankoski <jimbankoski@google.com>2016-07-18 06:54:50 -0700
committerJim Bankoski <jimbankoski@google.com>2016-07-18 06:54:50 -0700
commit3e04114f3d6d1bc746a376f375dc18c5a941e5aa (patch)
treea126483089f817695ff547fc976aa07654d7abc7 /vp8/common/generic
parent106a8a153650e5993bff62c4030758a35b54c348 (diff)
downloadlibvpx-3e04114f3d6d1bc746a376f375dc18c5a941e5aa.tar
libvpx-3e04114f3d6d1bc746a376f375dc18c5a941e5aa.tar.gz
libvpx-3e04114f3d6d1bc746a376f375dc18c5a941e5aa.tar.bz2
libvpx-3e04114f3d6d1bc746a376f375dc18c5a941e5aa.zip
prepend ++ instead of post in for loops.
Applied the following regex : search for: (for.*\(.*;.*;) ([a-zA-Z_]*)\+\+\) replace with: \1 ++\2) This misses some for loops: ie : for (mb_col = 0; mb_col < oci->mb_cols; mb_col++, mi++) Change-Id: Icf5f6fb93cced0992e0bb71d2241780f7fb1f0a8
Diffstat (limited to 'vp8/common/generic')
-rw-r--r--vp8/common/generic/systemdependent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp8/common/generic/systemdependent.c b/vp8/common/generic/systemdependent.c
index 395ffce23..0f4bb06b4 100644
--- a/vp8/common/generic/systemdependent.c
+++ b/vp8/common/generic/systemdependent.c
@@ -69,7 +69,7 @@ static int get_cpu_count() {
ULONG status;
core_count = 0;
- for (proc_id = 1;; proc_id++) {
+ for (proc_id = 1;; ++proc_id) {
if (DosGetProcessorStatus(proc_id, &status)) break;
if (status == PROC_ONLINE) core_count++;