aboutsummaryrefslogtreecommitdiff
path: root/src/system_wrappers/source/sort.cc
diff options
context:
space:
mode:
authorAlexander Gutkin <agutkin@google.com>2012-09-17 08:53:18 +0100
committerAlexander Gutkin <agutkin@google.com>2012-09-18 10:56:58 +0100
commita6451827d543eb00824bc95097e47d0aac51ae93 (patch)
tree4a8cf6cf1ff19717bdbf501c94a899d83518bf93 /src/system_wrappers/source/sort.cc
parent6f12fff925188ced26e518cd2252aff3e93bb04e (diff)
downloadwebrtc-a6451827d543eb00824bc95097e47d0aac51ae93.tar.gz
Added fixed point iSAC codec implementation.
- Added fixed-point iSAC audio codec implementation (from stable r2699). - Updated system wrappers (from stable r2699). - Some cosmetic makefile changes. Change-Id: If75d503698c11a4e4ceb851529127aadfe52f255
Diffstat (limited to 'src/system_wrappers/source/sort.cc')
-rw-r--r--src/system_wrappers/source/sort.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/system_wrappers/source/sort.cc b/src/system_wrappers/source/sort.cc
index f44b644978..34aa4373ee 100644
--- a/src/system_wrappers/source/sort.cc
+++ b/src/system_wrappers/source/sort.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
+ * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
@@ -412,8 +412,6 @@ namespace webrtc
case TYPE_Float64:
StdSort<double>(data, numOfElements);
break;
- default:
- return -1;
}
#endif
return 0;
@@ -543,9 +541,9 @@ namespace webrtc
return StdKeySort<float>(data, key, numOfElements, sizeOfElement);
case TYPE_Float64:
return StdKeySort<double>(data, key, numOfElements, sizeOfElement);
- default:
- return -1;
}
+ assert(false);
+ return -1;
#endif
}
} // namespace webrtc