Skip to content
  • Nirbheek Chauhan's avatar
    nvcodec: Fix crash on 32-bit Windows · 1a7ea45f
    Nirbheek Chauhan authored
    We weren't using the correct calling convention when calling CUDA and
    CUVID APIs. `CUDAAPI` is `__stdcall` on Windows. This was working fine
    on x64 because `__stdcall` is ignored and there's no special calling
    convention. However, on x86, we need to use `__stdcall`.
    1a7ea45f