You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-11 14:30:22 +02:00
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>
This commit is contained in:
@ -3789,6 +3789,8 @@ static int barrelsplit_to_xyz(const V360Context *s,
|
|||||||
case 3: // back bottom
|
case 3: // back bottom
|
||||||
vf = (y * 2.f - 1.5f) / scaleh + 3.f - facef;
|
vf = (y * 2.f - 1.5f) / scaleh + 3.f - facef;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
av_assert0(0);
|
||||||
}
|
}
|
||||||
l_x = (0.5f - uf) / scalew;
|
l_x = (0.5f - uf) / scalew;
|
||||||
l_y = 0.5f * dir_vert;
|
l_y = 0.5f * dir_vert;
|
||||||
|
Reference in New Issue
Block a user