[x264-devel] [PATCH 3/5] mc: Mark a static function as such
Diego Biurrun
diego at biurrun.de
Fri Jan 27 17:56:18 CET 2017
On Fri, Jan 27, 2017 at 04:21:16PM +0100, Vittorio Giovara wrote:
> --- a/common/mc.c
> +++ b/common/mc.c
> @@ -362,9 +362,9 @@ static ALWAYS_INLINE uint32_t v210_endian_fix32( uint32_t x )
>
> -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 )
The function is not static, the function is only used within the file,
therefore you mark it as static.
mc: Mark a function only used within the file as static
Diego
More information about the x264-devel
mailing list