From bf0f996c1283731e56a7986a08002baa8ae5064c Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 11 Sep 2021 22:11:46 +0200 Subject: avfilter/f_segment: silence compiler warning --- libavfilter/f_segment.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavfilter/f_segment.c b/libavfilter/f_segment.c index e9b574d5bc..70c8393972 100644 --- a/libavfilter/f_segment.c +++ b/libavfilter/f_segment.c @@ -207,6 +207,8 @@ static int activate(AVFilterContext *ctx) } ret = ff_inlink_consume_samples(inlink, 1, max_samples, &frame); break; + default: + return AVERROR_BUG; } if (ret > 0) { -- cgit v1.2.3