Skip to content

Commit 78fced2

Browse files
committed
Fix: Export inplaceConvertFrame* functions for shared library build
- Added CCAP_EXPORT to inplaceConvertFrame(), inplaceConvertFrameRGB(), and inplaceConvertFrameYUV2RGBColor() - Fixes LNK2019 unresolved external symbol error in Debug-shared build configuration - Required for test_frame_conversions.cpp to link correctly with shared library
1 parent f912d7b commit 78fced2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/ccap_convert_frame.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232

3333
namespace ccap {
3434

35-
bool inplaceConvertFrame(VideoFrame* frame, PixelFormat toFormat, bool verticalFlip);
36-
bool inplaceConvertFrameRGB(VideoFrame* frame, PixelFormat toFormat, bool verticalFlip);
37-
bool inplaceConvertFrameYUV2RGBColor(VideoFrame* frame, PixelFormat toFormat, bool verticalFlip);
35+
CCAP_EXPORT bool inplaceConvertFrame(VideoFrame* frame, PixelFormat toFormat, bool verticalFlip);
36+
CCAP_EXPORT bool inplaceConvertFrameRGB(VideoFrame* frame, PixelFormat toFormat, bool verticalFlip);
37+
CCAP_EXPORT bool inplaceConvertFrameYUV2RGBColor(VideoFrame* frame, PixelFormat toFormat, bool verticalFlip);
3838

3939
} // namespace ccap
4040

0 commit comments

Comments
 (0)