theoraenc: make logically static const data just so
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 4 Nov 2011 10:57:40 +0000 (10:57 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Mon, 7 Nov 2011 12:27:15 +0000 (12:27 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=663391

ext/theora/gsttheoraenc.c

index 4ee0185..4d5d49d 100644 (file)
@@ -575,10 +575,10 @@ theora_enc_get_supported_formats (void)
 {
   th_enc_ctx *encoder;
   th_info info;
-  struct
+  static const struct
   {
     th_pixel_fmt pixelformat;
-    const char *fourcc;
+    const char fourcc[];
   } formats[] = {
     {
     TH_PF_420, "I420"}, {