projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8ef3da
)
gdp: Fix threadsafety of the crc checking function.
author
Wim Taymans
<wim.taymans@gmail.com>
Fri, 1 Oct 2004 16:49:01 +0000
(16:49 +0000)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Sun, 25 Dec 2011 22:49:57 +0000
(22:49 +0000)
Original commit message from CVS:
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
Fix threadsafety of the crc checking function.
gst/gdp/dataprotocol.c
patch
|
blob
|
history
diff --git
a/gst/gdp/dataprotocol.c
b/gst/gdp/dataprotocol.c
index 8df6fc080d5acaf37936b16aa97e7d915c693324..27512987ea9b49cdcd2ae196b16fb45c2ef4b8e1 100644
(file)
--- a/
gst/gdp/dataprotocol.c
+++ b/
gst/gdp/dataprotocol.c
@@
-50,7
+50,8
@@
static guint16
gst_dp_crc (const guint8 * buffer, register guint length)
{
static gboolean initialized = FALSE;
- static guint16 crc_register, crc_table[256];
+ static guint16 crc_table[256];
+ guint16 crc_register;
unsigned long i, j, k;
if (!initialized) {