Explorar el Código

Move static to front of declaration, as required by c99

BtbN hace 11 años
padre
commit
e958bc16e4
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      libobs/media-io/video-matrices.c

+ 2 - 2
libobs/media-io/video-matrices.c

@@ -24,7 +24,7 @@
 #include "../graphics/matrix3.h"
 #include "../graphics/matrix3.h"
 #endif
 #endif
 
 
-struct {
+static struct {
 	enum video_colorspace const color_space;
 	enum video_colorspace const color_space;
 	float const Kb, Kr;
 	float const Kb, Kr;
 	int const range_min[3];
 	int const range_min[3];
@@ -35,7 +35,7 @@ struct {
 	float float_range_max[3];
 	float float_range_max[3];
 	float matrix[2][16];
 	float matrix[2][16];
 
 
-} static format_info[] = {
+} format_info[] = {
 	{VIDEO_CS_601,
 	{VIDEO_CS_601,
 		0.114f, 0.299f, {16, 16, 16}, {235, 240, 240},
 		0.114f, 0.299f, {16, 16, 16}, {235, 240, 240},
 		{{16, 128, 128}, {0, 128, 128}},
 		{{16, 128, 128}, {0, 128, 128}},