# HG changeset patch # User reimar # Date 1243759271 0 # Node ID 2b2cf40395891d48557eb53910933f0b16c6e7ec # Parent bcd71ae6ea74f4a1a9cc6991641d92484594bf93 Remove superfluous () from lclenc.c diff -r bcd71ae6ea74 -r 2b2cf4039589 lclenc.c --- a/lclenc.c Sun May 31 08:38:51 2009 +0000 +++ b/lclenc.c Sun May 31 08:41:11 2009 +0000 @@ -94,7 +94,7 @@ return -1; } - zret = deflateReset(&(c->zstream)); + zret = deflateReset(&c->zstream); if (zret != Z_OK) { av_log(avctx, AV_LOG_ERROR, "Deflate reset error: %d\n", zret); return -1; @@ -105,13 +105,13 @@ for(i = avctx->height - 1; i >= 0; i--) { c->zstream.next_in = p->data[0]+p->linesize[0]*i; c->zstream.avail_in = avctx->width*3; - zret = deflate(&(c->zstream), Z_NO_FLUSH); + zret = deflate(&c->zstream, Z_NO_FLUSH); if (zret != Z_OK) { av_log(avctx, AV_LOG_ERROR, "Deflate error: %d\n", zret); return -1; } } - zret = deflate(&(c->zstream), Z_FINISH); + zret = deflate(&c->zstream, Z_FINISH); if (zret != Z_STREAM_END) { av_log(avctx, AV_LOG_ERROR, "Deflate error: %d\n", zret); return -1; @@ -169,7 +169,7 @@ c->zstream.zalloc = Z_NULL; c->zstream.zfree = Z_NULL; c->zstream.opaque = Z_NULL; - zret = deflateInit(&(c->zstream), c->compression); + zret = deflateInit(&c->zstream, c->compression); if (zret != Z_OK) { av_log(avctx, AV_LOG_ERROR, "Deflate init error: %d\n", zret); return 1; @@ -197,7 +197,7 @@ av_freep(&avctx->extradata); av_freep(&c->comp_buf); - deflateEnd(&(c->zstream)); + deflateEnd(&c->zstream); return 0; }