diff options
author | Mark Thompson <sw@jkqxz.net> | 2017-06-13 22:27:31 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2017-06-15 00:02:06 +0100 |
commit | 4993a68f0f9285f92a42a54305dc0244665b7db4 (patch) | |
tree | a434e68b5f8a753e664e7dfa59a476820fff109c /libavutil/hwcontext.c | |
parent | f61265571d68c410f5307c240a7f9c95c247fb54 (diff) | |
download | ffmpeg-4993a68f0f9285f92a42a54305dc0244665b7db4.tar.gz |
hwcontext: Mark local table static const
Diffstat (limited to 'libavutil/hwcontext.c')
-rw-r--r-- | libavutil/hwcontext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/hwcontext.c b/libavutil/hwcontext.c index d82df56abf..6dc95bba15 100644 --- a/libavutil/hwcontext.c +++ b/libavutil/hwcontext.c @@ -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", |