shithub: libvpx

Download patch

ref: 135b43ccf3e1170a32452a3e6c08a13c0fdc6359
parent: 7f8dd35329fcec4f32eba6f56ada69224e30f238
author: Jingning Han <[email protected]>
date: Fri Jul 31 08:33:35 EDT 2015

Fix compiler warning in mips/dspr2

This commit fixes the mix declaration and definition warning when
mips/dspr2 is turned on.

Change-Id: I633d6fe42368b9ac35b106786ebac6969ad53552

--- a/build/make/rtcd.pl
+++ b/build/make/rtcd.pl
@@ -320,13 +320,18 @@
   print <<EOF;
 #if HAVE_DSPR2
 void vpx_dsputil_static_init();
-vpx_dsputil_static_init();
 #if CONFIG_VP8
 void dsputil_static_init();
-dsputil_static_init();
 #endif
 #if CONFIG_VP9
 void vp9_dsputil_static_init();
+#endif
+
+vpx_dsputil_static_init();
+#if CONFIG_VP8
+dsputil_static_init();
+#endif
+#if CONFIG_VP9
 vp9_dsputil_static_init();
 #endif
 #endif