[FFmpeg-cvslog] avcodec/utils: Simplify a condition that combines HAVE_NEON and ARCH_ARM

Diego Biurrun git at videolan.org
Wed Aug 21 13:16:49 CEST 2013


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Aug 20 14:24:04 2013 +0200| [e95930eda18e90eaea30fd397ea21b30f7763137] | committer: Diego Biurrun

avcodec/utils: Simplify a condition that combines HAVE_NEON and ARCH_ARM

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

 libavcodec/utils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 13419c7..bf79cf1 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -160,7 +160,7 @@ void avcodec_set_dimensions(AVCodecContext *s, int width, int height)
     s->height       = height;
 }
 
-#if (ARCH_ARM && HAVE_NEON) || ARCH_PPC || HAVE_MMX
+#if HAVE_NEON || ARCH_PPC || HAVE_MMX
 #   define STRIDE_ALIGN 16
 #else
 #   define STRIDE_ALIGN 8



More information about the ffmpeg-cvslog mailing list