changeset 9621:5680832edb83 libavcodec

Remove dead nested assignment found by CSA
author banan
date Sun, 10 May 2009 14:44:09 +0000
parents 3ac52a187883
children 02715614161f
files zmbvenc.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/zmbvenc.c	Sun May 10 00:53:02 2009 +0000
+++ b/zmbvenc.c	Sun May 10 14:44:09 2009 +0000
@@ -117,7 +117,6 @@
     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 @@
     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;
     }