[x264-devel] mc: Mark a function only used within the file as static

Vittorio Giovara git at videolan.org
Mon May 22 00:00:27 CEST 2017


x264 | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Fri Jan 27 16:21:16 2017 +0100| [a77f3917cc6ba5e1d3c20ca649d4114217976d53] | committer: Henrik Gramner

mc: Mark a function only used within the file as static

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=a77f3917cc6ba5e1d3c20ca649d4114217976d53
---

 common/mc.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/common/mc.c b/common/mc.c
index 543a05c4..156890d5 100644
--- a/common/mc.c
+++ b/common/mc.c
@@ -362,9 +362,9 @@ static ALWAYS_INLINE uint32_t v210_endian_fix32( uint32_t x )
 #define v210_endian_fix32(x) (x)
 #endif
 
-void x264_plane_copy_deinterleave_v210_c( pixel *dsty, intptr_t i_dsty,
-                                          pixel *dstc, intptr_t i_dstc,
-                                          uint32_t *src, intptr_t i_src, int w, int h )
+static void x264_plane_copy_deinterleave_v210_c( pixel *dsty, intptr_t i_dsty,
+                                                 pixel *dstc, intptr_t i_dstc,
+                                                 uint32_t *src, intptr_t i_src, int w, int h )
 {
     for( int l = 0; l < h; l++ )
     {



More information about the x264-devel mailing list