[FFmpeg-devel] [PATCH 5/5] CodeAi generated fix for CWE 561 Dead Code

C0deAi techsupport at mycode.ai
Wed Mar 7 00:42:23 EET 2018


Signed-off-by: C0deAi <benjamin.bales at assrc.us>
---
 libavcodec/indeo3.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/indeo3.c b/libavcodec/indeo3.c
index 71d478c..ebd8ab9 100644
--- a/libavcodec/indeo3.c
+++ b/libavcodec/indeo3.c
@@ -657,7 +657,6 @@ static int decode_cell(Indeo3DecodeContext *ctx, AVCodecContext *avctx,
             ref_block[x] = requant_tab[vq_index & 7][ref_block[x] & 127];
     }
 
-    error = IV3_NOERR;
 
     switch (mode) {
     case 0: /*------------------ MODES 0 & 1 (4x4 block processing) --------------------*/
-- 
2.7.4



More information about the ffmpeg-devel mailing list