Replace hand crafted be-le conversion by its glib counterpart.

That way processor specific optimizations may be picked up.

svn path=/trunk/; revision=44631
This commit is contained in:
Jörg Mayer 2012-08-23 12:20:25 +00:00
parent fcb0307fae
commit dd659430a3
1 changed files with 1 additions and 4 deletions

View File

@ -98,10 +98,7 @@ crc32_802_tvb(tvbuff_t *tvb, guint len)
c_crc = crc32_ccitt_tvb(tvb, len);
/* Byte reverse. */
c_crc = ((unsigned char)(c_crc>>0)<<24) |
((unsigned char)(c_crc>>8)<<16) |
((unsigned char)(c_crc>>16)<<8) |
((unsigned char)(c_crc>>24)<<0);
c_crc = GUINT32_SWAP_LE_BE(c_crc);
return ( c_crc );
}