From 0c7f81f9018bc7c23f92993e288ed546744fdf92 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 26 May 2015 15:08:52 +0200 Subject: Reduce frame magic to 4 dwords to handle recent hardware revisions --- reader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reader.c b/reader.c index 2b1bc9f..15a6289 100644 --- a/reader.c +++ b/reader.c @@ -77,7 +77,7 @@ static inline int ipecamera_new_frame(ipecamera_t *ctx) { return 0; } -static uint32_t frame_magic[5] = { 0x51111111, 0x52222222, 0x53333333, 0x54444444, 0x55555555 }; +static uint32_t frame_magic[4] = { 0x51111111, 0x52222222, 0x53333333, 0x54444444 }; static int ipecamera_data_callback(void *user, pcilib_dma_flags_t flags, size_t bufsize, void *buf) { int res; -- cgit v1.2.1