diff options
author | Marvin Scholz <epirat07@gmail.com> | 2024-09-07 20:19:04 +0200 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2024-09-07 20:39:42 +0200 |
commit | b4e64b86ad92ce83d7befeaa1245416cf6eadd27 (patch) | |
tree | 040cfd0131d82e0fbb56bab769215e006dcc54bc /presets | |
parent | 7e35aeda03e7feb0ec32b7da63f5091047a9cefe (diff) | |
download | ffmpeg-b4e64b86ad92ce83d7befeaa1245416cf6eadd27.tar.gz |
lavu/opt: av_opt_set_array: fix uninitialised return
In one failure path for av_opt_set_array, the ret variable
was declared again, shadowing the outer one and writing the
return value to the wrong one and then after the goto returning
the uninitialized one instead.
Introduced in 450a3f58edb22d28912a5e65dc08d9e2fb805066
Fixes: CID1619242 Uninitialized scalar variable
Diffstat (limited to 'presets')
0 files changed, 0 insertions, 0 deletions