1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-28 23:09:59 +02:00

video_chroma: copy: skip test when SSE2 is not available

Fix a test compilation failure when building against a target not
supporting SSE2.
This commit is contained in:
Alexandre Janniaux 2023-01-11 17:35:19 +01:00 committed by Jean-Baptiste Kempf
parent b94b187f6b
commit ebe968239c

View File

@ -1107,7 +1107,9 @@ int main(void)
alarm(10);
#ifndef COPY_TEST_NOOPTIM
#ifdef CAN_COMPILE_SSE2
if (!vlc_CPU_SSE2())
#endif
{
fprintf(stderr, "WARNING: could not test SSE\n");
return 77;