-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
53 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
patches/master/0032-textutils-include-time_internal.h.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
From 3e8678a486b50da2c1c7dae32eeb93d32327feb4 Mon Sep 17 00:00:00 2001 | ||
From: wang-bin <wbsecg1@gmail.com> | ||
Date: Tue, 19 Nov 2024 19:27:09 +0800 | ||
Subject: [PATCH 32/32] textutils: include time_internal.h | ||
|
||
fix undefined localtime_r in msvc | ||
--- | ||
libavfilter/textutils.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/libavfilter/textutils.c b/libavfilter/textutils.c | ||
index e6b5239b20..471346cc51 100644 | ||
--- a/libavfilter/textutils.c | ||
+++ b/libavfilter/textutils.c | ||
@@ -31,6 +31,7 @@ | ||
#include "libavutil/file.h" | ||
#include "libavutil/mem.h" | ||
#include "libavutil/time.h" | ||
+#include "libavutil/time_internal.h" | ||
|
||
static int ff_expand_text_function_internal(FFExpandTextContext *expand_text, AVBPrint *bp, | ||
char *name, unsigned argc, char **argv) | ||
@@ -380,4 +381,3 @@ int ff_load_textfile(void *log_ctx, const char *textfile, | ||
|
||
return 0; | ||
} | ||
- | ||
-- | ||
2.39.5 (Apple Git-154) | ||
|