]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/simage/potentially-uninitialized-local-pointer-variable.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / simage / potentially-uninitialized-local-pointer-variable.patch
CommitLineData
1e59de90
TL
1diff --git a/examples/img2avi.c b/examples/img2avi.c
2index 7a5ca96..d0ee057 100644
3--- a/examples/img2avi.c
4+++ b/examples/img2avi.c
5@@ -30,7 +30,7 @@ int main(int argc, char *argv[])
6 int first;
7 int width;
8 int height;
9- s_movie * movie;
10+ s_movie * movie = NULL;
11 s_params * params;
12 s_image *image;
13 char formatbuf[20];
14diff --git a/mpeg2enc/putvlc.c b/mpeg2enc/putvlc.c
15index 6a84fbd..b373fea 100644
16--- a/mpeg2enc/putvlc.c
17+++ b/mpeg2enc/putvlc.c
18@@ -103,7 +103,7 @@ void
19 simpeg_encode_putAC(simpeg_encode_context * context,int run, int signed_level, int vlcformat)
20 {
21 int level, len;
22- VLCtable *ptab;
23+ VLCtable *ptab = NULL;
24
25 level = (signed_level<0) ? -signed_level : signed_level; /* abs(signed_level) */
26