It seems reply1 is initialized by ff_rtsp_send_cmd() in most cases but there
are code paths like "continue" which look like they could skip it but even if not
writing this so a complex loop after several layers of calls initialized a local
variable through a pointer is just bad design.
This patch simply initialized the variable.
Fixes: CID1473532 Uninitialized scalar variable
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 498ce4e8b8
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
release/6.1
parent
a0c4d98072
commit
1b0a93466c
1 changed files with 2 additions and 0 deletions
Loading…
Reference in new issue