aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-03-03 21:04:08 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2016-03-03 21:17:45 +0100
commit9b0eabdcdfc53b624d1439f5d0a26b25fd3e453c (patch)
treee6b6696d19fe3cabd538228bb00b440a2292df7a
parent5e9f85925c6fd98b97883fae5457dc5a7c24097d (diff)
downloadffmpeg-9b0eabdcdfc53b624d1439f5d0a26b25fd3e453c.tar.gz
avutil/color_utils: Mark test_data as static const
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavutil/color_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/color_utils.c b/libavutil/color_utils.c
index 0bb7e3d72b..6dba46a816 100644
--- a/libavutil/color_utils.c
+++ b/libavutil/color_utils.c
@@ -224,7 +224,7 @@ avpriv_trc_function avpriv_get_trc_function_from_trc(enum AVColorTransferCharact
int main(int argc, char *argv[])
{
int i, j;
- double test_data[] = {
+ static const double test_data[] = {
-0.1, -0.018053968510807, -0.01, -0.00449, 0.0, 0.00316227760, 0.005,
0.009, 0.015, 0.1, 1.0, 52.37, 125.098765, 1999.11123, 6945.443,
15123.4567, 19845.88923, 98678.4231, 99999.899998