changeset 35271:8c16fe658af0

Make array "static const".
author reimar
date Tue, 06 Nov 2012 21:49:35 +0000
parents 5816c9e25d29
children 8756cd0da7b7
files stream/tv.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/tv.c	Tue Nov 06 21:48:43 2012 +0000
+++ b/stream/tv.c	Tue Nov 06 21:49:35 2012 +0000
@@ -420,7 +420,7 @@
 {
     int i;
     const tvi_functions_t *funcs = tvh->functions;
-    int tv_fmt_list[] = {
+    static const int tv_fmt_list[] = {
       IMGFMT_YV12,
       IMGFMT_I420,
       IMGFMT_UYVY,