[vlc-commits] chroma: copy: fix typo
Thomas Guillem
git at videolan.org
Tue Nov 21 15:22:19 CET 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Nov 21 15:21:19 2017 +0100| [d78a9a20d3bafcdd9bc77d0d13fbf6f1f6d1add9] | committer: Thomas Guillem
chroma: copy: fix typo
Harmless since the typo was done everywhere
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d78a9a20d3bafcdd9bc77d0d13fbf6f1f6d1add9
---
modules/video_chroma/Makefile.am | 2 +-
modules/video_chroma/copy.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/video_chroma/Makefile.am b/modules/video_chroma/Makefile.am
index 5f0b01c39c..cb71b3315c 100644
--- a/modules/video_chroma/Makefile.am
+++ b/modules/video_chroma/Makefile.am
@@ -155,7 +155,7 @@ chroma_copy_sse_test_CFLAGS = -DCOPY_TEST
chroma_copy_sse_test_LDADD = ../src/libvlccore.la
chroma_copy_test_SOURCES = $(libchroma_copy_la_SOURCES)
-chroma_copy_test_CFLAGS = -DCOPY_TEST -DCOPY_TEST_NOOTPIM
+chroma_copy_test_CFLAGS = -DCOPY_TEST -DCOPY_TEST_NOOPTIM
chroma_copy_test_LDADD = ../src/libvlccore.la
if HAVE_SSE2
diff --git a/modules/video_chroma/copy.c b/modules/video_chroma/copy.c
index b4175cda98..811e77df49 100644
--- a/modules/video_chroma/copy.c
+++ b/modules/video_chroma/copy.c
@@ -110,7 +110,7 @@ void CopyCleanCache(copy_cache_t *cache)
# define vlc_CPU_SSE2() ((cpu & VLC_CPU_SSE2) != 0)
#endif
-#ifdef COPY_TEST_NOOTPIM
+#ifdef COPY_TEST_NOOPTIM
# undef vlc_CPU_SSE4_1
# define vlc_CPU_SSE4_1() (0)
# undef vlc_CPU_SSE3
@@ -1027,7 +1027,7 @@ int main(void)
alarm(10);
unsigned cpu = vlc_CPU();
-#ifndef COPY_TEST_NOOTPIM
+#ifndef COPY_TEST_NOOPTIM
if (!vlc_CPU_SSE2())
{
fprintf(stderr, "WARNING: could not test SSE\n");
More information about the vlc-commits
mailing list