1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

test: tiny_ssim: Don't include config.h

tiny_ssim is built for the build host, not for the target platform.
Therefore, it mustn't include the config.h header, which is set up
specifically for the target platform and compiler.

This fixes cross building for older WinStore platforms, where
config.h contains "#define getenv(x) NULL".

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2022-03-26 22:57:48 +02:00
parent db54426975
commit 525049097c

View File

@ -27,7 +27,6 @@
* overlapped 8x8 block sums, rather than the original gaussian weights.
*/
#include "config.h"
#include <inttypes.h>
#include <limits.h>
#include <math.h>