vdec/jpegxs: zero-init svt_jpeg_xs_bitstream_buffer_t

maybe not 100% required but it is a good practice

fixes CID 900815
This commit is contained in:
Martin Pulec
2026-03-10 08:39:44 +01:00
parent deae5df22d
commit ef0840bcdc

View File

@@ -270,7 +270,7 @@ static decompress_status jpegxs_decompress(void *state, unsigned char *dst, unsi
}
}
svt_jpeg_xs_bitstream_buffer_t bitstream;
svt_jpeg_xs_bitstream_buffer_t bitstream{};
bitstream.buffer = buffer;
bitstream.used_size = src_len;
bitstream.allocation_size = src_len;