diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2012-04-19 18:45:24 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2012-04-19 18:45:24 +0200 |
commit | befb48615d5c4b90f56e52ed436fe32bea9f11a3 (patch) | |
tree | 9399ef0438d213778e9630043abb18b55013630a | |
parent | 68afaa554139d0b31a6aaebbeedb57c8a75d165f (diff) | |
download | pcitool-befb48615d5c4b90f56e52ed436fe32bea9f11a3.tar.gz pcitool-befb48615d5c4b90f56e52ed436fe32bea9f11a3.tar.bz2 pcitool-befb48615d5c4b90f56e52ed436fe32bea9f11a3.tar.xz pcitool-befb48615d5c4b90f56e52ed436fe32bea9f11a3.zip |
Adapt to new ufodecode (just compiling, no fixes for actual ufo5 changes)
-rw-r--r-- | ipecamera/data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipecamera/data.c b/ipecamera/data.c index efde7a1..f326abf 100644 --- a/ipecamera/data.c +++ b/ipecamera/data.c @@ -55,7 +55,7 @@ inline static int ipecamera_decode_frame(ipecamera_t *ctx, pcilib_event_id_t eve pixels = ctx->image + buf_ptr * ctx->image_size; memset(ctx->cmask + ctx->buffer_pos * ctx->dim.height, 0, ctx->dim.height * sizeof(ipecamera_change_mask_t)); - res = ufo_decoder_decode_frame(ctx->ipedec, ctx->buffer + buf_ptr * ctx->padded_size, ctx->raw_size, pixels, &tmp, &tmp, ctx->cmask + ctx->buffer_pos * ctx->dim.height); + res = ufo_decoder_decode_frame(ctx->ipedec, ctx->buffer + buf_ptr * ctx->padded_size, ctx->raw_size, pixels, &tmp, &tmp, &tmp, ctx->cmask + ctx->buffer_pos * ctx->dim.height); if (!res) { ctx->frame[buf_ptr].event.image_broken = 1; err = PCILIB_ERROR_FAILED; |