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 d89930f866

Fixes: CID1618663 Uninitialized scalar variable
2024-09-07 20:42:26 +02:00
..
aarch64 avutil/aarch64: add AV_COPY128 and AV_ZERO128 macros 2024-08-26 10:26:59 +02:00
arm
loongarch
mips
ppc
riscv lavu/riscv: drop probing for zba CPU capability 2024-08-05 21:16:26 +03:00
tests lavu/opt: add API for retrieving array-type option values 2024-08-27 16:53:16 +02:00
x86
.gitignore
adler32.c
adler32.h
aes_ctr.c
aes_ctr.h
aes_internal.h
aes.c
aes.h
ambient_viewing_environment.c
ambient_viewing_environment.h
attributes_internal.h
attributes.h
audio_fifo.c
audio_fifo.h
avassert.h
avsscanf.c
avstring.c
avstring.h
avutil.h
avutilres.rc
base64.c
base64.h
blowfish.c
blowfish.h
bprint.c
bprint.h
bswap.h
buffer_internal.h
buffer.c
buffer.h
camellia.c
camellia.h
cast5.c
cast5.h
channel_layout.c
channel_layout.h
colorspace.h
common.h
cpu_internal.h
cpu.c lavu/riscv: drop probing for zba CPU capability 2024-08-05 21:16:26 +03:00
cpu.h lavu/cpu: deprecate RISC-V F, D and zba CPU flags 2024-08-05 21:16:26 +03:00
crc.c
crc.h
csp.c
csp.h
cuda_check.h
des.c
des.h
detection_bbox.c
detection_bbox.h
dict_internal.h
dict.c
dict.h
display.c
display.h
dovi_meta.c
dovi_meta.h avutil/dovi_meta: document static vs dynamic ext blocks 2024-08-16 11:48:02 +02:00
downmix_info.c
downmix_info.h
dynarray.h
emms.h
encryption_info.c
encryption_info.h
error.c
error.h
eval.c
eval.h
executor.c
executor.h
ffmath.h
fifo.c
fifo.h
file_open.c
file_open.h
file.c
file.h
film_grain_params.c
film_grain_params.h
fixed_dsp.c
fixed_dsp.h
float2half.c
float2half.h
float_dsp.c
float_dsp.h
frame.c avutil/frame: use the maximum compile time supported alignment for strides 2024-08-07 00:16:21 -03:00
frame.h
getenv_utf8.h
half2float.c
half2float.h
hash.c
hash.h
hdr_dynamic_metadata.c
hdr_dynamic_metadata.h
hdr_dynamic_vivid_metadata.c
hdr_dynamic_vivid_metadata.h
hmac.c
hmac.h
hwcontext_cuda_internal.h
hwcontext_cuda.c
hwcontext_cuda.h
hwcontext_d3d11va.c
hwcontext_d3d11va.h
hwcontext_d3d12va_internal.h
hwcontext_d3d12va.c
hwcontext_d3d12va.h
hwcontext_drm.c
hwcontext_drm.h
hwcontext_dxva2.c
hwcontext_dxva2.h
hwcontext_internal.h
hwcontext_mediacodec.c
hwcontext_mediacodec.h
hwcontext_opencl.c
hwcontext_opencl.h
hwcontext_qsv.c lavu/hwcontext_qsv: Use vendor id to create device 2024-08-09 13:40:26 +08:00
hwcontext_qsv.h
hwcontext_stub.c
hwcontext_vaapi.c lavu/hwcontext_vaapi: Add option to allow to specify vendor id when init hw device 2024-08-09 13:40:24 +08:00
hwcontext_vaapi.h
hwcontext_vdpau.c
hwcontext_vdpau.h
hwcontext_videotoolbox.c avutil/hwcontext_videotoolbox: silence warning for RGB 2024-08-15 20:10:33 +08:00
hwcontext_videotoolbox.h
hwcontext_vulkan.c hwcontext_vulkan: align host mapping size to minImportedHostPointerAlignment 2024-08-16 01:22:16 +02:00
hwcontext_vulkan.h hwcontext_vulkan: correct comment in header 2024-08-11 05:13:16 +02:00
hwcontext.c
hwcontext.h
iamf.c
iamf.h
imgutils_internal.h
imgutils.c
imgutils.h
integer.c
integer.h
internal.h
intfloat.h
intmath.c
intmath.h
intreadwrite.h avutil/aarch64: add AV_COPY128 and AV_ZERO128 macros 2024-08-26 10:26:59 +02:00
lfg.c
lfg.h
libavutil.v
libm.h
lls.c
lls.h
log2_tab.c
log.c
log.h
lzo.c
lzo.h
macos_kperf.c
macos_kperf.h
macros.h
Makefile
mastering_display_metadata.c
mastering_display_metadata.h
mathematics.c
mathematics.h
md5.c
md5.h
mem_internal.h
mem.c
mem.h
motion_vector.h
murmur3.c
murmur3.h
objc.h
opt.c lavu/opt: Fix return of uninitialised value 2024-09-07 20:42:26 +02:00
opt.h lavu/opt: add API for setting array-type option values 2024-09-06 13:59:04 +02:00
parseutils.c
parseutils.h
pca.c
pca.h
pixdesc.c
pixdesc.h
pixelutils.c
pixelutils.h
pixfmt.h
qsort.h
random_seed.c
random_seed.h
rational.c
rational.h
rc4.c
rc4.h
replaygain.h
reverse.c
reverse.h
ripemd.c
ripemd.h
samplefmt.c
samplefmt.h
sfc64.h
sha512.c
sha512.h
sha.c
sha.h
slicethread.c
slicethread.h
softfloat_ieee754.h
softfloat_tables.h
softfloat.h
spherical.c
spherical.h
stereo3d.c
stereo3d.h
tablegen.h
tea.c
tea.h
thread.h
threadmessage.c
threadmessage.h
time_internal.h
time.c
time.h
timecode.c
timecode.h
timer.h
timestamp.c
timestamp.h
tree.c
tree.h
twofish.c
twofish.h
tx_double.c
tx_float.c
tx_int32.c
tx_priv.h
tx_template.c
tx.c
tx.h
utils.c
uuid.c
uuid.h
version_major.h
version.c
version.h lavu/opt: add API for setting array-type option values 2024-09-06 13:59:04 +02:00
video_enc_params.c
video_enc_params.h
video_hint.c
video_hint.h
vulkan_functions.h hwcontext_vulkan: enable VK_KHR_video_maintenance1 2024-08-16 01:22:15 +02:00
vulkan_loader.h hwcontext_vulkan: enable VK_KHR_video_maintenance1 2024-08-16 01:22:15 +02:00
vulkan.c vulkan: make sure descriptor buffers are always DEVICE_LOCAL 2024-08-13 19:05:20 +02:00
vulkan.h hwcontext_vulkan: do not chain structs of unsupported extensions in vkCreateDevice 2024-08-11 05:13:17 +02:00
wchar_filename.h
xga_font_data.c
xga_font_data.h
xtea.c
xtea.h