Re: [FFmpeg-devel] [PATCH 1/2] avutil/file_open: Fix build error with wasi

2024-06-29 Thread Mark Harris
> From: Zhao Zhili > > Don't assume tempnam is available when !HAVE_MKSTEMP. Check tempnam > explicitly in configure. > > Signed-off-by: Zhao Zhili > --- > configure | 2 ++ > libavutil/file_open.c | 2 +- > 2 files changed, 3 insertions(+), 1 deletion(-) > > diff --git a/configure b

[FFmpeg-devel] [PATCH 1/2] avutil/file_open: Fix build error with wasi

2024-06-27 Thread Zhao Zhili
From: Zhao Zhili Don't assume tempnam is available when !HAVE_MKSTEMP. Check tempnam explicitly in configure. Signed-off-by: Zhao Zhili --- configure | 2 ++ libavutil/file_open.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 7685