identity: add static and const where appropriate
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Mon, 7 Apr 2014 13:35:04 +0000 (14:35 +0100)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Tue, 3 Jun 2014 14:36:15 +0000 (15:36 +0100)
plugins/elements/gstidentity.c

index daf3127..114a290 100644 (file)
@@ -471,7 +471,7 @@ gst_identity_update_last_message_for_buffer (GstIdentity * identity,
   GST_OBJECT_LOCK (identity);
 
   {
-    const char *flag_list[] = {
+    static const char *const flag_list[] = {
       "", "", "", "", "live", "decode-only", "discont", "resync", "corrupted",
       "marker", "header", "gap", "droppable", "delta-unit", "tag-memory",
       "FIXME"