nvdec: rework the function loading/cuInit
With vlc_once()
we will only ever call cuInit()
once in the process. If it fails it will never be tried again even though it might work.
Only load the DLL and load functions once while we're at it.
With vlc_once()
we will only ever call cuInit()
once in the process. If it fails it will never be tried again even though it might work.
Only load the DLL and load functions once while we're at it.
VideoLAN code repository instance