omx: Mark an array as const
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 12 Feb 2013 10:44:40 +0000 (11:44 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 12 Feb 2013 10:44:40 +0000 (11:44 +0100)
omx/gstomx.c

index 9c46413..095d7cc 100644 (file)
@@ -2148,7 +2148,7 @@ done:
   return err;
 }
 
-static GType (*types[]) (void) = {
+static const GType (*types[]) (void) = {
 gst_omx_mpeg2_dec_get_type, gst_omx_mpeg4_video_dec_get_type,
       gst_omx_h264_dec_get_type, gst_omx_h263_dec_get_type,
       gst_omx_wmv_dec_get_type, gst_omx_mpeg4_video_enc_get_type,