From 396e441db0472651f76e5fe9202014f44d856d25 Mon Sep 17 00:00:00 2001 From: banan Date: Sun, 10 May 2009 14:44:09 +0000 Subject: [PATCH] Remove dead nested assignment found by CSA git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18784 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- libavcodec/zmbvenc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/zmbvenc.c b/libavcodec/zmbvenc.c index d45bbe2668..5268b939d9 100644 --- a/libavcodec/zmbvenc.c +++ b/libavcodec/zmbvenc.c @@ -117,7 +117,6 @@ static int encode_frame(AVCodecContext *avctx, uint8_t *buf, int buf_size, void AVFrame * const p = &c->pic; uint8_t *src, *prev; uint32_t *palptr; - int zret = Z_OK; int len = 0; int keyframe, chpal; int fl; @@ -226,7 +225,7 @@ static int encode_frame(AVCodecContext *avctx, uint8_t *buf, int buf_size, void c->zstream.next_out = c->comp_buf; c->zstream.avail_out = c->comp_size; c->zstream.total_out = 0; - if((zret = deflate(&c->zstream, Z_SYNC_FLUSH)) != Z_OK){ + if(deflate(&c->zstream, Z_SYNC_FLUSH) != Z_OK){ av_log(avctx, AV_LOG_ERROR, "Error compressing data\n"); return -1; } -- 2.11.4.GIT