]> git.sesse.net Git - ffmpeg/commitdiff
avutil/color_utils: Mark test_data as static const
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 3 Mar 2016 20:04:08 +0000 (21:04 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 3 Mar 2016 20:17:45 +0000 (21:17 +0100)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavutil/color_utils.c

index 0bb7e3d72b2fbf697aeb80d0db2b0c3ea429c1ae..6dba46a81694dbb6b2f1521c86c8a0d885a5b720 100644 (file)
@@ -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