mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
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.
This commit is contained in:
parent
8152bfe972
commit
6c41321741
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2007-12-06 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* gst/mpegtsparse/mpegtsparse.c: (crc_tab):
|
||||||
|
Mark crc values table as constant.
|
||||||
|
|
||||||
2007-12-05 Edgard Lima <edgard.lima@indt.org.br>
|
2007-12-05 Edgard Lima <edgard.lima@indt.org.br>
|
||||||
|
|
||||||
* ext/metadata/metadataexif.c:
|
* ext/metadata/metadataexif.c:
|
||||||
|
|
|
@ -128,7 +128,7 @@ static GstStateChangeReturn mpegts_parse_change_state (GstElement * element,
|
||||||
|
|
||||||
GST_BOILERPLATE (MpegTSParse, mpegts_parse, GstElement, GST_TYPE_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,
|
0x00000000, 0x04c11db7, 0x09823b6e, 0x0d4326d9, 0x130476dc, 0x17c56b6b,
|
||||||
0x1a864db2, 0x1e475005, 0x2608edb8, 0x22c9f00f, 0x2f8ad6d6, 0x2b4bcb61,
|
0x1a864db2, 0x1e475005, 0x2608edb8, 0x22c9f00f, 0x2f8ad6d6, 0x2b4bcb61,
|
||||||
0x350c9b64, 0x31cd86d3, 0x3c8ea00a, 0x384fbdbd, 0x4c11db70, 0x48d0c6c7,
|
0x350c9b64, 0x31cd86d3, 0x3c8ea00a, 0x384fbdbd, 0x4c11db70, 0x48d0c6c7,
|
||||||
|
|
Loading…
Reference in a new issue