forked from FFmpeg/FFmpeg
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avutil/cuda_check: Fix non-dynamic-loader implementation
The switch to an inline function means that the dynamic-loader dependent typing can only work if the including file uses the dynamic loader. If not, we'll get compilation errors. While not ideal, the least complicated way to solve this is to have a completely separate implementation when using a linked cuda library and #ifdef against the presence of the loader. This fixes compilation of the various SDK-linked cuda filters.
- Loading branch information
Showing
1 changed file
with
35 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters