Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1766)

Unified Diff: third_party/opus/src/src/opus_compare.c

Issue 2962373002: [Opus] Update to v1.2.1 (Closed)
Patch Set: Pre-increment instead of post-increment Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/opus/src/src/opus.c ('k') | third_party/opus/src/src/opus_decoder.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/opus/src/src/opus_compare.c
diff --git a/third_party/opus/src/src/opus_compare.c b/third_party/opus/src/src/opus_compare.c
index 06c67d752f7153c191344947d594b3611636c9f8..1956e08fa5cee0e9b87e5f2ab5217e24eac98d53 100644
--- a/third_party/opus/src/src/opus_compare.c
+++ b/third_party/opus/src/src/opus_compare.c
@@ -363,6 +363,9 @@ int main(int _argc,const char **_argv){
Ef*=Ef;
err+=Ef*Ef;
}
+ free(xb);
+ free(X);
+ free(Y);
err=pow(err/nframes,1.0/16);
Q=100*(1-0.5*log(1+err)/log(1.13));
if(Q<0){
« no previous file with comments | « third_party/opus/src/src/opus.c ('k') | third_party/opus/src/src/opus_decoder.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698