Use encoding_crc32

This commit is contained in:
twinaphex 2016-09-21 12:31:40 +02:00
parent e00ed7f209
commit b548362869

View File

@ -20,7 +20,7 @@
#include "netplay_private.h"
#include <net/net_socket.h>
#include "compat/zlib.h"
#include <encodings/crc32.h>
#include "../../movie.h"
#include "../../msg_hash.h"
@ -288,5 +288,5 @@ uint32_t netplay_delta_frame_crc(netplay_t *netplay, struct delta_frame *delta)
{
if (!netplay->state_size)
return 0;
return crc32(0L, (const unsigned char*)delta->state, netplay->state_size);
return encoding_crc32(0L, (const unsigned char*)delta->state, netplay->state_size);
}