Skip to content

Commit aa4d482

Browse files
committed
Fix merge conflicts with release branch after rebase on ntv2_17_5
There were changes made to the release branch that never made their way back to main/ntv2_17_5 The release branch will be locked down in future to prevent this from happening again.
2 parents 74777da + bf5649f commit aa4d482

4 files changed

Lines changed: 10 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Windows")
2525
if (DEFINED AJA_MSVC_RUNTIME_LIBRARY)
2626
set(CMAKE_MSVC_RUNTIME_LIBRARY "${AJA_MSVC_RUNTIME_LIBRARY}" PARENT_SCOPE)
2727
endif()
28+
29+
if(NOT CMAKE_MSVC_RUNTIME_LIBRARY)
30+
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded")
31+
endif()
2832
endif()
2933

3034
option(AJANTV2_BUILD_OPENSOURCE "Build libajantv2 as open-source (MIT license)?" ON)

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ Please follow the instructions below to build `libajantv2` on the supported plat
142142
$ cmake -S . -B bld-x86 -G Xcode -DCMAKE_OSX_ARCHITECTURES=x86_64
143143
$ cmake -S . -B bld-fat -G Xcode -DCMAKE_OSX_ARCHITECTURES=arm64;x86_64
144144
```
145-
146145
1. Build the `libajantv2` static library from the **Terminal**, via the generated XCode Project:
147146
```
148147
$ cmake --build build

ajaanc/src/ancillarylist.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1762,7 +1762,7 @@ bool AJAAncillaryList::StripNativeInserterGUMPPackets (const NTV2Buffer & inSrc,
17621762
::memcpy(tgtPtr, srcPtr, uncopied); // Copy last uncopied bytes
17631763
// cout << DEC(numStripped) << " pkts removed, " << DEC(bytesRemoved) << " bytes removed" << endl;
17641764
return true;
1765-
} // StripNativeInserterPackets
1765+
} // StripNativeInserterGUMPPackets
17661766

17671767

17681768
//////////////////////////////////////////////////////////////////////////////////////////////////

ajantv2/src/ntv2nubaccess.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1800,6 +1800,11 @@ bool NTV2PluginLoader::validate (void)
18001800
<< "Issuer serial: " << fingerprint << "|AJA serial: " << ajaFingerprint);
18011801
return fail(); // fail
18021802
}
1803+
if (fingerprint != ajaFingerprint)
1804+
{ P_FAIL(pluginPath() << " not authorized/signed by AJA: Issuer serial mismatch: " << fingerprint
1805+
<< " vs " << ajaFingerprint);
1806+
return false; // fail
1807+
}
18031808

18041809
// Green light
18051810
mValidated = true;

0 commit comments

Comments
 (0)