aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-06-13 22:27:31 +0100
committerMark Thompson <sw@jkqxz.net>2017-06-15 00:02:06 +0100
commit4993a68f0f9285f92a42a54305dc0244665b7db4 (patch)
treea434e68b5f8a753e664e7dfa59a476820fff109c
parentf61265571d68c410f5307c240a7f9c95c247fb54 (diff)
downloadffmpeg-4993a68f0f9285f92a42a54305dc0244665b7db4.tar.gz
hwcontext: Mark local table static const
-rw-r--r--libavutil/hwcontext.c2
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",