diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2024-07-11 00:10:45 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2024-08-11 13:21:13 +0200 |
commit | f802d65de0fe419563705a6846a73b77b020ef14 (patch) | |
tree | 7cfbbeb2cf6add52b956253d5026e1220b3ecf41 /libavfilter | |
parent | 9229587c2df92b24b3ed1f4f5dd9830e8d1d6992 (diff) | |
download | ffmpeg-f802d65de0fe419563705a6846a73b77b020ef14.tar.gz |
avfilter/vf_v360: Assert that vf was initialized
Maybe helps: CID1504571 Uninitialized scalar variable
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_v360.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/vf_v360.c b/libavfilter/vf_v360.c index 299dbe9ff5..9a6c31228d 100644 --- a/libavfilter/vf_v360.c +++ b/libavfilter/vf_v360.c @@ -3789,6 +3789,8 @@ static int barrelsplit_to_xyz(const V360Context *s, case 3: // back bottom vf = (y * 2.f - 1.5f) / scaleh + 3.f - facef; break; + default: + av_assert0(0); } l_x = (0.5f - uf) / scalew; l_y = 0.5f * dir_vert; |