1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-04 06:08:26 +02:00
FFmpeg/libavutil
Marvin Scholz 8a314e3f11 lavu/opt: Fix return of uninitialised value
In one of the failure paths of av_opt_get_array, the ret variable
was accidentally declared again, shadowing the outer one and once when
jumping to the fail label would return the still uninitialised outer
one.

To fix this simply remove the local declaration of ret that shadowed
the outer one.

Introduced in d89930f8666c563a96f1dc1835b450522b4cd6da

Fixes: CID1618663 Uninitialized scalar variable
2024-09-07 20:42:26 +02:00
..
2024-06-13 21:16:16 +03:00
2024-03-15 12:51:15 +01:00
2024-07-21 17:02:12 +02:00
2024-03-10 13:51:37 +01:00
2024-03-04 17:45:00 +01:00
2024-03-31 00:08:43 +01:00
2024-03-15 12:51:15 +01:00
2024-05-04 21:31:33 -03:00
2024-06-01 18:05:58 +03:00
2024-06-01 18:05:58 +03:00
2024-03-31 00:08:43 +01:00
2024-03-31 00:08:43 +01:00