[FFmpeg-cvslog] avcodec/lagarith: Remove redundant varianble init

Michael Niedermayer git at videolan.org
Wed Jul 18 15:01:33 EEST 2018


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sun Jul 15 13:32:09 2018 +0200| [706c9beaead70ee861e183338e136382b17ade05] | committer: Michael Niedermayer

avcodec/lagarith: Remove redundant varianble init

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=706c9beaead70ee861e183338e136382b17ade05
---

 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;



More information about the ffmpeg-cvslog mailing list