Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/neutrinolabs/librfxcodec.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatt335672 <30179339+matt335672@users.noreply.github.com>2021-12-15 14:10:42 +0300
committermetalefty <meta@vmeta.jp>2022-01-05 11:07:00 +0300
commite1db1564be30e26049d07ebf1af993b82f1985e8 (patch)
tree33239528940d3ed8f1ca7075a1d1a469208050ec
parentbbfcb3494d9ba479c6362ba4450b2cb42988e285 (diff)
Address possible uninitialised variable
-rw-r--r--src/rfxencode_compose.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rfxencode_compose.c b/src/rfxencode_compose.c
index c9ecbd5..0279c90 100644
--- a/src/rfxencode_compose.c
+++ b/src/rfxencode_compose.c
@@ -452,6 +452,8 @@ rfx_compose_message_tileset(struct rfxencode *enc, STREAM *s,
s->p += numQuants * 5;
end_pos = stream_get_pos(s);
tiles_written = 0;
+ tiles_end_checkpoint = stream_get_pos(s);
+
if (enc->format == RFX_FORMAT_YUV)
{
if (flags & RFX_FLAGS_ALPHAV1)