Skip to content

Commit

Permalink
Update to latest zstd
Browse files Browse the repository at this point in the history
Various perf improvements and edge-case bug-fixes
  • Loading branch information
tannerhelland committed Jun 27, 2023
1 parent a48cb5e commit d27f71b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file modified App/PhotoDemon/Plugins/libzstd.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion Forms/Tools_PluginManager.frm
Expand Up @@ -542,7 +542,7 @@ Private Sub CollectAllVersionNumbers()
'Remove trailing build numbers from certain version strings.
Dim dotPos As Long
For i = 0 To PluginManager.GetNumOfPlugins - 1
If (i <> CCP_ExifTool) And (i <> CCP_libdeflate) And (i <> CCP_AvifExport) And (i <> CCP_AvifImport) Then
If (i <> CCP_ExifTool) And (i <> CCP_libdeflate) And (i <> CCP_AvifExport) And (i <> CCP_AvifImport) And (i <> CCP_resvg) Then
If (LenB(m_LibraryVersion(i)) <> 0) Then
dotPos = InStrRev(m_LibraryVersion(i), ".", -1, vbBinaryCompare)
If (dotPos <> 0) Then m_LibraryVersion(i) = Left$(m_LibraryVersion(i), dotPos - 1)
Expand Down
2 changes: 1 addition & 1 deletion Modules/Plugin_Management.bas
Expand Up @@ -71,7 +71,7 @@ Private Const EXPECTED_LZ4_VERSION As String = "10904"
Private Const EXPECTED_PSPI_VERSION As String = "0.9"
Private Const EXPECTED_RESVG_VERSION As String = "0.35.0"
Private Const EXPECTED_WEBP_VERSION As String = "1.2.4"
Private Const EXPECTED_ZSTD_VERSION As String = "10502"
Private Const EXPECTED_ZSTD_VERSION As String = "10505"

'To simplify handling throughout this module, plugin existence, allowance, and successful initialization are tracked internally.
' Note that not all of these specific states are retrievable externally; in general, callers should use the simplified
Expand Down
2 changes: 1 addition & 1 deletion PhotoDemon.vbp
Expand Up @@ -518,7 +518,7 @@ Description="PhotoDemon Photo Editor"
CompatibleMode="0"
MajorVer=9
MinorVer=1
RevisionVer=152
RevisionVer=154
AutoIncrementVer=1
ServerSupportFiles=0
VersionComments="Copyright 2000-2023 Tanner Helland - photodemon.org"
Expand Down

0 comments on commit d27f71b

Please sign in to comment.