]> granicus.if.org Git - libvpx/commitdiff
Removed unnecessary type cast
authorYaowu Xu <yaowu@google.com>
Tue, 18 Feb 2014 03:03:01 +0000 (19:03 -0800)
committerYaowu Xu <yaowu@google.com>
Wed, 19 Feb 2014 05:03:47 +0000 (21:03 -0800)
Change-Id: I0f2d5155ec042e9b5cbe9a9d6b186b121ed7737f

vp9/encoder/vp9_onyx_if.c

index 23274fc8a212db0beda620f5ad9dde6772f85855..887480a93f293a5e1239655ec2a58630dfcd45f8 100644 (file)
@@ -2221,7 +2221,7 @@ static void calc_psnr(const YV12_BUFFER_CONFIG *a, const YV12_BUFFER_CONFIG *b,
     psnr->samples[1 + i] = samples;
     psnr->psnr[1 + i] = vp9_mse2psnr(samples, 255.0, (double) sse);
 
-    total_sse += (uint64_t)sse;
+    total_sse += sse;
     total_samples += samples;
   }