diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-05-26 15:08:52 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-05-26 15:08:52 +0200 |
commit | 0c7f81f9018bc7c23f92993e288ed546744fdf92 (patch) | |
tree | 257f0d33c8cac3e2340907a9533bdfa786bebabe /reader.c | |
parent | 0241ab239cbaf67843edb629acc37423b264ee0a (diff) | |
download | ipecamera-0c7f81f9018bc7c23f92993e288ed546744fdf92.tar.gz ipecamera-0c7f81f9018bc7c23f92993e288ed546744fdf92.tar.bz2 ipecamera-0c7f81f9018bc7c23f92993e288ed546744fdf92.tar.xz ipecamera-0c7f81f9018bc7c23f92993e288ed546744fdf92.zip |
Reduce frame magic to 4 dwords to handle recent hardware revisions
Diffstat (limited to 'reader.c')
-rw-r--r-- | reader.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |