diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2012-07-04 21:15:13 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2012-07-04 21:15:13 +0200 |
commit | 71657075c0e9991d36f640554b8f4ac4d2ae95ba (patch) | |
tree | 5b58af00c79ef6f79f71dd872318d95f924fd398 | |
parent | 22aef9eef6001b195d56cb8167731bc2c0412dc9 (diff) | |
parent | 9cf24e3beeb087bd98950d4bbf038e7019c25890 (diff) | |
download | ipecamera-71657075c0e9991d36f640554b8f4ac4d2ae95ba.tar.gz ipecamera-71657075c0e9991d36f640554b8f4ac4d2ae95ba.tar.bz2 ipecamera-71657075c0e9991d36f640554b8f4ac4d2ae95ba.tar.xz ipecamera-71657075c0e9991d36f640554b8f4ac4d2ae95ba.zip |
Merge
-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; |