diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-01-07 19:07:42 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-01-07 22:13:07 +0100 |
commit | 3dc99a18d4ae2b9bcc96e00b7f589128717aec64 (patch) | |
tree | 895f83e64aae6cdea16c72998257634424866042 /libavcodec/zmbvenc.c | |
parent | 079688b6cbd2944ab84d3539efcde161aa090fac (diff) | |
download | ffmpeg-3dc99a18d4ae2b9bcc96e00b7f589128717aec64.tar.gz |
cosmetics: drop some pointless parentheses
Diffstat (limited to 'libavcodec/zmbvenc.c')
-rw-r--r-- | libavcodec/zmbvenc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/zmbvenc.c b/libavcodec/zmbvenc.c index 2230436f90..75fcffec8c 100644 --- a/libavcodec/zmbvenc.c +++ b/libavcodec/zmbvenc.c @@ -269,7 +269,7 @@ static av_cold int encode_init(AVCodecContext *avctx) } // Needed if zlib unused or init aborted before deflateInit - memset(&(c->zstream), 0, sizeof(z_stream)); + memset(&c->zstream, 0, sizeof(z_stream)); c->comp_size = avctx->width * avctx->height + 1024 + ((avctx->width + ZMBV_BLOCK - 1) / ZMBV_BLOCK) * ((avctx->height + ZMBV_BLOCK - 1) / ZMBV_BLOCK) * 2 + 4; if ((c->work_buf = av_malloc(c->comp_size)) == NULL) { @@ -294,7 +294,7 @@ static av_cold int encode_init(AVCodecContext *avctx) c->zstream.zalloc = Z_NULL; c->zstream.zfree = Z_NULL; c->zstream.opaque = Z_NULL; - zret = deflateInit(&(c->zstream), lvl); + zret = deflateInit(&c->zstream, lvl); if (zret != Z_OK) { av_log(avctx, AV_LOG_ERROR, "Inflate init error: %d\n", zret); return -1; @@ -317,7 +317,7 @@ static av_cold int encode_end(AVCodecContext *avctx) av_freep(&c->comp_buf); av_freep(&c->work_buf); - deflateEnd(&(c->zstream)); + deflateEnd(&c->zstream); av_freep(&c->prev); return 0; |