[FFmpeg-devel] [PATCH 1/5] avcodec/lagarith: Remove redundant varianble init

Michael Niedermayer michael at niedermayer.cc
Sun Jul 15 16:13:37 EEST 2018


Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 libavcodec/lagarith.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/lagarith.c b/libavcodec/lagarith.c
index ba2da2eeb2..510a6ff2d6 100644
--- a/libavcodec/lagarith.c
+++ b/libavcodec/lagarith.c
@@ -541,7 +541,7 @@ static int lag_decode_frame(AVCodecContext *avctx,
     LagarithContext *l = avctx->priv_data;
     ThreadFrame frame = { .f = data };
     AVFrame *const p  = data;
-    uint8_t frametype = 0;
+    uint8_t frametype;
     uint32_t offset_gu = 0, offset_bv = 0, offset_ry = 9;
     uint32_t offs[4];
     uint8_t *srcs[4], *dst;
-- 
2.18.0



More information about the ffmpeg-devel mailing list