From c023f91eebdfc16c55d0abc550fe607a18ab4d58 Mon Sep 17 00:00:00 2001 From: Marvin Scholz Date: Tue, 17 Feb 2026 21:15:41 +0100 Subject: [PATCH] avfilter/vf_v360: add break Also replace an av_assert0 with av_unreachable. --- libavfilter/vf_v360.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_v360.c b/libavfilter/vf_v360.c index a08279867f..4384fa578b 100644 --- a/libavfilter/vf_v360.c +++ b/libavfilter/vf_v360.c @@ -4427,7 +4427,7 @@ static int config_output(AVFilterLink *outlink) in_offset_h = h; break; default: - av_assert0(0); + av_unreachable("All valid cases are handled"); } set_dimensions(s->inplanewidth, s->inplaneheight, w, h, desc); @@ -4449,6 +4449,7 @@ static int config_output(AVFilterLink *outlink) case FISHEYE: default_ih_fov = 180.f; default_iv_fov = 180.f; + break; default: break; }