We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7a9fe5 commit ba7d3edCopy full SHA for ba7d3ed
src/detection/gpu/gpu_amd.c
@@ -66,7 +66,7 @@ const char* ffDetectAmdGpuInfo(const FFGpuDriverCondition* cond, FFGpuDriverResu
66
*result.type = device->isAPU ? FF_GPU_TYPE_INTEGRATED : FF_GPU_TYPE_DISCRETE;
67
68
if (result.index)
69
- *result.type = (uint32_t) device->adlAdapterIndex;
+ *result.index = (uint32_t) device->adlAdapterIndex;
70
71
if (result.name)
72
ffStrbufSetS(result.name, device->adapterString);
0 commit comments