diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-09-29 16:15:42 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-09-29 16:15:42 +0000 |
commit | fc7c40c2bd95cc6f338806bdbf077732a74f5cf2 (patch) | |
tree | 16a390af495b7dc8aa8eecfbfa36a77de2f713aa /libswscale/utils.c | |
parent | 1bb56bdb418359b3eb993ff119b02794c6fe605f (diff) | |
download | ffmpeg-streaming-fc7c40c2bd95cc6f338806bdbf077732a74f5cf2.zip ffmpeg-streaming-fc7c40c2bd95cc6f338806bdbf077732a74f5cf2.tar.gz |
Cosmetics: put "if (...)" and "av_log(...)" in the same line for
improving vertical alignment and readability.
Originally committed as revision 32405 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r-- | libswscale/utils.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c index 938af9e..ad8895b 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -1056,16 +1056,11 @@ int sws_init_context(SwsContext *c, SwsFilter *srcFilter, SwsFilter *dstFilter) #endif sws_format_name(dstFormat)); - if (flags & SWS_CPU_CAPS_MMX2) - av_log(c, AV_LOG_INFO, "using MMX2\n"); - else if (flags & SWS_CPU_CAPS_3DNOW) - av_log(c, AV_LOG_INFO, "using 3DNOW\n"); - else if (flags & SWS_CPU_CAPS_MMX) - av_log(c, AV_LOG_INFO, "using MMX\n"); - else if (flags & SWS_CPU_CAPS_ALTIVEC) - av_log(c, AV_LOG_INFO, "using AltiVec\n"); - else - av_log(c, AV_LOG_INFO, "using C\n"); + if (flags & SWS_CPU_CAPS_MMX2) av_log(c, AV_LOG_INFO, "using MMX2\n"); + else if (flags & SWS_CPU_CAPS_3DNOW) av_log(c, AV_LOG_INFO, "using 3DNOW\n"); + else if (flags & SWS_CPU_CAPS_MMX) av_log(c, AV_LOG_INFO, "using MMX\n"); + else if (flags & SWS_CPU_CAPS_ALTIVEC) av_log(c, AV_LOG_INFO, "using AltiVec\n"); + else av_log(c, AV_LOG_INFO, "using C\n"); if (flags & SWS_CPU_CAPS_MMX) { if (c->canMMX2BeUsed && (flags&SWS_FAST_BILINEAR)) |