From 6c413217419556f27b349b10e26a09e04035c144 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 6 Dec 2007 10:48:19 +0000 Subject: gst/mpegtsparse/mpegtsparse.c: Mark crc values table as constant. Original commit message from CVS: * gst/mpegtsparse/mpegtsparse.c: (crc_tab): Mark crc values table as constant. --- ChangeLog | 5 +++++ gst/mpegtsparse/mpegtsparse.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e7d75aa0..af39c73f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-12-06 Tim-Philipp Müller + + * gst/mpegtsparse/mpegtsparse.c: (crc_tab): + Mark crc values table as constant. + 2007-12-05 Edgard Lima * ext/metadata/metadataexif.c: diff --git a/gst/mpegtsparse/mpegtsparse.c b/gst/mpegtsparse/mpegtsparse.c index 4d3ba889..c780876c 100644 --- a/gst/mpegtsparse/mpegtsparse.c +++ b/gst/mpegtsparse/mpegtsparse.c @@ -128,7 +128,7 @@ static GstStateChangeReturn mpegts_parse_change_state (GstElement * element, GST_BOILERPLATE (MpegTSParse, mpegts_parse, GstElement, GST_TYPE_ELEMENT); -static guint32 crc_tab[256] = { +static const guint32 crc_tab[256] = { 0x00000000, 0x04c11db7, 0x09823b6e, 0x0d4326d9, 0x130476dc, 0x17c56b6b, 0x1a864db2, 0x1e475005, 0x2608edb8, 0x22c9f00f, 0x2f8ad6d6, 0x2b4bcb61, 0x350c9b64, 0x31cd86d3, 0x3c8ea00a, 0x384fbdbd, 0x4c11db70, 0x48d0c6c7, -- cgit v1.2.1