Commit fca6a0dd authored by Diego Biurrun's avatar Diego Biurrun

Add explanatory comments to some #endifs.

Originally committed as revision 9084 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 9f77cab2
...@@ -282,7 +282,7 @@ static void v_resample4_mmx(uint8_t *dst, int dst_width, const uint8_t *src, ...@@ -282,7 +282,7 @@ static void v_resample4_mmx(uint8_t *dst, int dst_width, const uint8_t *src,
} }
emms(); emms();
} }
#endif #endif /* HAVE_MMX */
#ifdef HAVE_ALTIVEC #ifdef HAVE_ALTIVEC
typedef union { typedef union {
...@@ -409,7 +409,7 @@ void v_resample16_altivec(uint8_t *dst, int dst_width, const uint8_t *src, ...@@ -409,7 +409,7 @@ void v_resample16_altivec(uint8_t *dst, int dst_width, const uint8_t *src,
dst_width--; dst_width--;
} }
} }
#endif #endif /* HAVE_ALTIVEC */
/* slow version to handle limit cases. Does not need optimisation */ /* slow version to handle limit cases. Does not need optimisation */
static void h_resample_slow(uint8_t *dst, int dst_width, static void h_resample_slow(uint8_t *dst, int dst_width,
...@@ -942,8 +942,8 @@ int main(int argc, char **argv) ...@@ -942,8 +942,8 @@ int main(int argc, char **argv)
exit(1); exit(1);
} }
av_log(NULL, AV_LOG_INFO, "MMX OK\n"); av_log(NULL, AV_LOG_INFO, "MMX OK\n");
#endif #endif /* HAVE_MMX */
return 0; return 0;
} }
#endif #endif /* TEST */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment