Skip to content

Commit 1a4b4fa

Browse files
committed
projects: Update for 7.0.1 merge.
1 parent 9f25c30 commit 1a4b4fa

File tree

5 files changed

+60
-3
lines changed

5 files changed

+60
-3
lines changed

SMP/SMP.patch

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/fftools/opt_common.c b/fftools/opt_common.c
2-
index f5b73c9f2f..672326999b 100644
2+
index 9d2d5184a0..4f0a8d59ce 100644
33
--- a/fftools/opt_common.c
44
+++ b/fftools/opt_common.c
55
@@ -48,6 +48,9 @@
@@ -13,7 +13,7 @@ index f5b73c9f2f..672326999b 100644
1313
#include "libavdevice/version.h"
1414

1515
diff --git a/libavcodec/mfenc.c b/libavcodec/mfenc.c
16-
index 8bb6f1d38d..a9ca24443d 100644
16+
index 9225692c51..137bb69a06 100644
1717
--- a/libavcodec/mfenc.c
1818
+++ b/libavcodec/mfenc.c
1919
@@ -59,6 +59,10 @@ typedef struct MFContext {
@@ -27,3 +27,42 @@ index 8bb6f1d38d..a9ca24443d 100644
2727
#define MF_TIMEBASE (AVRational){1, 10000000}
2828
// Sentinel value only used by us.
2929
#define MF_INVALID_TIME AV_NOPTS_VALUE
30+
diff --git a/libavfilter/textutils.c b/libavfilter/textutils.c
31+
index ef658d04a2..3ecce972f2 100644
32+
--- a/libavfilter/textutils.c
33+
+++ b/libavfilter/textutils.c
34+
@@ -30,6 +30,7 @@
35+
#include "libavutil/error.h"
36+
#include "libavutil/file.h"
37+
#include "libavutil/time.h"
38+
+#include "libavutil/time_internal.h"
39+
40+
static int ff_expand_text_function_internal(FFExpandTextContext *expand_text, AVBPrint *bp,
41+
char *name, unsigned argc, char **argv)
42+
@@ -189,7 +190,7 @@ int ff_print_pts(void *log_ctx, AVBPrint *bp, double pts, const char *delta,
43+
if (!strcmp(fmt, "localtime"))
44+
localtime_r(&ms, &tm);
45+
else
46+
- gmtime_r(&ms, &tm);
47+
+ ff_gmtime_r(&ms, &tm);
48+
av_bprint_strftime(bp, av_x_if_null(strftime_fmt, "%Y-%m-%d %H:%M:%S"), &tm);
49+
} else {
50+
av_log(log_ctx, AV_LOG_ERROR, "Invalid format '%s'\n", fmt);
51+
@@ -219,7 +220,7 @@ int ff_print_time(void *log_ctx, AVBPrint *bp,
52+
if (localtime)
53+
localtime_r(&now, &tm);
54+
else
55+
- tm = *gmtime_r(&now, &tm);
56+
+ tm = *ff_gmtime_r(&now, &tm);
57+
58+
// manually parse format for %N (fractional seconds)
59+
begin = fmt;
60+
diff --git a/libavformat/file_open.c b/libavformat/file_open.c
61+
index 494a5d37a4..2e13de17d7 100644
62+
--- a/libavformat/file_open.c
63+
+++ b/libavformat/file_open.c
64+
@@ -1 +1,4 @@
65+
+#include "config.h"
66+
+#if CONFIG_SHARED
67+
#include "libavutil/file_open.c"
68+
+#endif

SMP/libavformat.vcxproj.filters

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1639,6 +1639,11 @@
16391639
<Filter>Source Files\libavformat</Filter>
16401640
</ClCompile>
16411641
</ItemGroup>
1642+
<ItemGroup>
1643+
<ClCompile Include="..\libavformat\bitstream.c">
1644+
<Filter>Source Files\libavformat</Filter>
1645+
</ClCompile>
1646+
</ItemGroup>
16421647
<ItemGroup>
16431648
<ClCompile Include="..\libavformat\dca_sample_rate_tab.c">
16441649
<Filter>Source Files\libavformat</Filter>

SMP/libavformat_files.props

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,14 @@
555555
<ExcludedFromBuild Condition="'$(Configuration)'=='DebugWinRT'">true</ExcludedFromBuild>
556556
</ClCompile>
557557
</ItemGroup>
558+
<ItemGroup>
559+
<ClCompile Include="..\libavformat\bitstream.c">
560+
<ExcludedFromBuild Condition="'$(Configuration)'=='Release'">true</ExcludedFromBuild>
561+
<ExcludedFromBuild Condition="'$(Configuration)'=='Debug'">true</ExcludedFromBuild>
562+
<ExcludedFromBuild Condition="'$(Configuration)'=='ReleaseWinRT'">true</ExcludedFromBuild>
563+
<ExcludedFromBuild Condition="'$(Configuration)'=='DebugWinRT'">true</ExcludedFromBuild>
564+
</ClCompile>
565+
</ItemGroup>
558566
<ItemGroup>
559567
<ClCompile Include="..\libavformat\dca_sample_rate_tab.c">
560568
<ExcludedFromBuild Condition="'$(Configuration)'=='Release'">true</ExcludedFromBuild>

SMP/libavformat_winrt.vcxproj.filters

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1639,6 +1639,11 @@
16391639
<Filter>Source Files\libavformat</Filter>
16401640
</ClCompile>
16411641
</ItemGroup>
1642+
<ItemGroup>
1643+
<ClCompile Include="..\libavformat\bitstream.c">
1644+
<Filter>Source Files\libavformat</Filter>
1645+
</ClCompile>
1646+
</ItemGroup>
16421647
<ItemGroup>
16431648
<ClCompile Include="..\libavformat\dca_sample_rate_tab.c">
16441649
<Filter>Source Files\libavformat</Filter>

SMP/libavutil/ffversion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@
2121

2222
#ifndef SMP_LIBAVUTIL_FFVERSION_H
2323
#define SMP_LIBAVUTIL_FFVERSION_H
24-
#define FFMPEG_VERSION "7.0"
24+
#define FFMPEG_VERSION "7.0.1"
2525
#endif /* SMP_LIBAVUTIL_FFVERSION_H */

0 commit comments

Comments
 (0)