[FFmpeg-devel] [PATCH 4/5] cosmetics: reindent

Janne Grunau janne-ffmpeg
Tue Sep 28 00:25:02 CEST 2010


---
 libswscale/swscale_template.c |    2 +-
 libswscale/utils.c            |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c
index dfbf850..dd3940d 100644
--- a/libswscale/swscale_template.c
+++ b/libswscale/swscale_template.c
@@ -2909,7 +2909,7 @@ static int RENAME(swScale)(SwsContext *c, const uint8_t* src[], int srcStride[],
     if (dsp_mask & AV_CPU_FLAG_MMX2 )  __asm__ volatile("sfence":::"memory");
     /* On K6 femms is faster than emms. On K7 femms is directly mapped to emms. */
     if (dsp_mask & AV_CPU_FLAG_3DNOW)  __asm__ volatile("femms" :::"memory");
-    else                             __asm__ volatile("emms"  :::"memory");
+    else                               __asm__ volatile("emms"  :::"memory");
 #endif
     /* store changed local vars back in the context */
     c->dstY= dstY;
diff --git a/libswscale/utils.c b/libswscale/utils.c
index cf14bfb..91989f5 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -796,7 +796,7 @@ int sws_init_context(SwsContext *c, SwsFilter *srcFilter, SwsFilter *dstFilter){
     if (c->dsp_mask & AV_CPU_FLAG_FORCE)
         dsp_mask = c->dsp_mask;
     else
-    dsp_mask = c->dsp_mask = sws_cpu_caps2av_cpu_flags(update_flags_cpu(c->flags));
+        dsp_mask = c->dsp_mask = sws_cpu_caps2av_cpu_flags(update_flags_cpu(c->flags));
 
     flags= c->flags = strip_cpu_flags(c->flags);
 #if ARCH_X86
-- 
1.7.3




More information about the ffmpeg-devel mailing list