mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-28 02:12:28 +00:00
hwcontext: Mark local table static const
This commit is contained in:
parent
f61265571d
commit
4993a68f0f
@ -50,7 +50,7 @@ static const HWContextType * const hw_table[] = {
|
||||
NULL,
|
||||
};
|
||||
|
||||
const char *hw_type_names[] = {
|
||||
static const char *const hw_type_names[] = {
|
||||
[AV_HWDEVICE_TYPE_CUDA] = "cuda",
|
||||
[AV_HWDEVICE_TYPE_DXVA2] = "dxva2",
|
||||
[AV_HWDEVICE_TYPE_D3D11VA] = "d3d11va",
|
||||
|
Loading…
Reference in New Issue
Block a user