Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH] windows: Remove the VS_FFI_FILEFLAGSMASK setting
@ 2022-01-05 12:21 Martin Storsjö
  2022-01-05 12:29 ` Hendrik Leppkes
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Storsjö @ 2022-01-05 12:21 UTC (permalink / raw)
  To: ffmpeg-devel

According to the documentation, the VS_FFI_FILEFLAGSMASK mask
consists of all the following flags set:
VS_FF_DEBUG, VS_FF_PATCHED, VS_FF_PRERELEASE, VS_FF_PRIVATEBUILD,
VS_FF_SPECIALBUILD.

The documentation of these fields say e.g. this:
VS_FF_PATCHED      File has been modified and is not identical to the
                   original shipping file of the same version number.
VS_FF_PRIVATEBUILD File was not built using standard release procedures.
                   If this value is given, the StringFileInfo block must
                   contain a PrivateBuild string.

It doesn't seem like it's intentional to set all of these flags
(and setting all of them at once doesn't seem like something one
ever would want to do anyway).
---
 libavcodec/avcodecres.rc       | 1 -
 libavdevice/avdeviceres.rc     | 1 -
 libavfilter/avfilterres.rc     | 1 -
 libavformat/avformatres.rc     | 1 -
 libavutil/avutilres.rc         | 1 -
 libpostproc/postprocres.rc     | 1 -
 libswresample/swresampleres.rc | 1 -
 libswscale/swscaleres.rc       | 1 -
 tools/gen-rc                   | 1 -
 9 files changed, 9 deletions(-)

diff --git a/libavcodec/avcodecres.rc b/libavcodec/avcodecres.rc
index 4b69686177..094fd27eb2 100644
--- a/libavcodec/avcodecres.rc
+++ b/libavcodec/avcodecres.rc
@@ -29,7 +29,6 @@
 1 VERSIONINFO
 FILEVERSION     LIBAVCODEC_VERSION_MAJOR, LIBAVCODEC_VERSION_MINOR, LIBAVCODEC_VERSION_MICRO, 0
 PRODUCTVERSION  LIBAVCODEC_VERSION_MAJOR, LIBAVCODEC_VERSION_MINOR, LIBAVCODEC_VERSION_MICRO, 0
-FILEFLAGSMASK   VS_FFI_FILEFLAGSMASK
 FILEOS          VOS_NT_WINDOWS32
 FILETYPE        VFT_DLL
 {
diff --git a/libavdevice/avdeviceres.rc b/libavdevice/avdeviceres.rc
index e13e73d57e..c74aa3f2d3 100644
--- a/libavdevice/avdeviceres.rc
+++ b/libavdevice/avdeviceres.rc
@@ -29,7 +29,6 @@
 1 VERSIONINFO
 FILEVERSION     LIBAVDEVICE_VERSION_MAJOR, LIBAVDEVICE_VERSION_MINOR, LIBAVDEVICE_VERSION_MICRO, 0
 PRODUCTVERSION  LIBAVDEVICE_VERSION_MAJOR, LIBAVDEVICE_VERSION_MINOR, LIBAVDEVICE_VERSION_MICRO, 0
-FILEFLAGSMASK   VS_FFI_FILEFLAGSMASK
 FILEOS          VOS_NT_WINDOWS32
 FILETYPE        VFT_DLL
 {
diff --git a/libavfilter/avfilterres.rc b/libavfilter/avfilterres.rc
index 8be62473e2..e0437186a9 100644
--- a/libavfilter/avfilterres.rc
+++ b/libavfilter/avfilterres.rc
@@ -29,7 +29,6 @@
 1 VERSIONINFO
 FILEVERSION     LIBAVFILTER_VERSION_MAJOR, LIBAVFILTER_VERSION_MINOR, LIBAVFILTER_VERSION_MICRO, 0
 PRODUCTVERSION  LIBAVFILTER_VERSION_MAJOR, LIBAVFILTER_VERSION_MINOR, LIBAVFILTER_VERSION_MICRO, 0
-FILEFLAGSMASK   VS_FFI_FILEFLAGSMASK
 FILEOS          VOS_NT_WINDOWS32
 FILETYPE        VFT_DLL
 {
diff --git a/libavformat/avformatres.rc b/libavformat/avformatres.rc
index ffe61e0d80..911b2269f2 100644
--- a/libavformat/avformatres.rc
+++ b/libavformat/avformatres.rc
@@ -29,7 +29,6 @@
 1 VERSIONINFO
 FILEVERSION     LIBAVFORMAT_VERSION_MAJOR, LIBAVFORMAT_VERSION_MINOR, LIBAVFORMAT_VERSION_MICRO, 0
 PRODUCTVERSION  LIBAVFORMAT_VERSION_MAJOR, LIBAVFORMAT_VERSION_MINOR, LIBAVFORMAT_VERSION_MICRO, 0
-FILEFLAGSMASK   VS_FFI_FILEFLAGSMASK
 FILEOS          VOS_NT_WINDOWS32
 FILETYPE        VFT_DLL
 {
diff --git a/libavutil/avutilres.rc b/libavutil/avutilres.rc
index 40a75eb377..e12f63db9c 100644
--- a/libavutil/avutilres.rc
+++ b/libavutil/avutilres.rc
@@ -29,7 +29,6 @@
 1 VERSIONINFO
 FILEVERSION     LIBAVUTIL_VERSION_MAJOR, LIBAVUTIL_VERSION_MINOR, LIBAVUTIL_VERSION_MICRO, 0
 PRODUCTVERSION  LIBAVUTIL_VERSION_MAJOR, LIBAVUTIL_VERSION_MINOR, LIBAVUTIL_VERSION_MICRO, 0
-FILEFLAGSMASK   VS_FFI_FILEFLAGSMASK
 FILEOS          VOS_NT_WINDOWS32
 FILETYPE        VFT_DLL
 {
diff --git a/libpostproc/postprocres.rc b/libpostproc/postprocres.rc
index e6104ac88b..5e6c1a6ed7 100644
--- a/libpostproc/postprocres.rc
+++ b/libpostproc/postprocres.rc
@@ -29,7 +29,6 @@
 1 VERSIONINFO
 FILEVERSION     LIBPOSTPROC_VERSION_MAJOR, LIBPOSTPROC_VERSION_MINOR, LIBPOSTPROC_VERSION_MICRO, 0
 PRODUCTVERSION  LIBPOSTPROC_VERSION_MAJOR, LIBPOSTPROC_VERSION_MINOR, LIBPOSTPROC_VERSION_MICRO, 0
-FILEFLAGSMASK   VS_FFI_FILEFLAGSMASK
 FILEOS          VOS_NT_WINDOWS32
 FILETYPE        VFT_DLL
 {
diff --git a/libswresample/swresampleres.rc b/libswresample/swresampleres.rc
index 1320f78b9a..f849c70276 100644
--- a/libswresample/swresampleres.rc
+++ b/libswresample/swresampleres.rc
@@ -29,7 +29,6 @@
 1 VERSIONINFO
 FILEVERSION     LIBSWRESAMPLE_VERSION_MAJOR, LIBSWRESAMPLE_VERSION_MINOR, LIBSWRESAMPLE_VERSION_MICRO, 0
 PRODUCTVERSION  LIBSWRESAMPLE_VERSION_MAJOR, LIBSWRESAMPLE_VERSION_MINOR, LIBSWRESAMPLE_VERSION_MICRO, 0
-FILEFLAGSMASK   VS_FFI_FILEFLAGSMASK
 FILEOS          VOS_NT_WINDOWS32
 FILETYPE        VFT_DLL
 {
diff --git a/libswscale/swscaleres.rc b/libswscale/swscaleres.rc
index 5cb8ee7023..ed8dd676b6 100644
--- a/libswscale/swscaleres.rc
+++ b/libswscale/swscaleres.rc
@@ -29,7 +29,6 @@
 1 VERSIONINFO
 FILEVERSION     LIBSWSCALE_VERSION_MAJOR, LIBSWSCALE_VERSION_MINOR, LIBSWSCALE_VERSION_MICRO, 0
 PRODUCTVERSION  LIBSWSCALE_VERSION_MAJOR, LIBSWSCALE_VERSION_MINOR, LIBSWSCALE_VERSION_MICRO, 0
-FILEFLAGSMASK   VS_FFI_FILEFLAGSMASK
 FILEOS          VOS_NT_WINDOWS32
 FILETYPE        VFT_DLL
 {
diff --git a/tools/gen-rc b/tools/gen-rc
index a28b013aae..37fc57eae7 100755
--- a/tools/gen-rc
+++ b/tools/gen-rc
@@ -93,7 +93,6 @@ cat <<EOF > $output
 1 VERSIONINFO
 FILEVERSION     ${version}_MAJOR, ${version}_MINOR, ${version}_MICRO, 0
 PRODUCTVERSION  ${version}_MAJOR, ${version}_MINOR, ${version}_MICRO, 0
-FILEFLAGSMASK   VS_FFI_FILEFLAGSMASK
 FILEOS          VOS_NT_WINDOWS32
 FILETYPE        VFT_DLL
 {
-- 
2.32.0 (Apple Git-132)

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-05 12:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-05 12:21 [FFmpeg-devel] [PATCH] windows: Remove the VS_FFI_FILEFLAGSMASK setting Martin Storsjö
2022-01-05 12:29 ` Hendrik Leppkes
2022-01-05 12:31   ` James Almer
2022-01-05 12:36   ` Martin Storsjö

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git