From e757d68b1a7f75de97cc472206cae52b770eeefb Mon Sep 17 00:00:00 2001 From: Jason Garrett-Glaser Date: Sun, 19 Sep 2010 00:25:27 -0700 Subject: [PATCH] Cosmetics in me.c and frame.c --- common/frame.c | 13 ++++++++----- encoder/me.c | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/common/frame.c b/common/frame.c index ae5a01f7..0c3d77fc 100644 --- a/common/frame.c +++ b/common/frame.c @@ -295,15 +295,18 @@ int x264_frame_copy_picture( x264_t *h, x264_frame_t *dst, x264_picture_t *src ) static void ALWAYS_INLINE pixel_memset( pixel *dst, pixel *src, int len, int size ) { uint8_t *dstp = (uint8_t*)dst; - if(size == 1) { + if( size == 1 ) memset(dst, *src, len); - } else if(size == 2) { + else if( size == 2 ) + { int v = M16( src ); - for(int i=0; i