avfilter/f_segment: silence compiler warning

This commit is contained in:
Paul B Mahol 2021-09-11 22:11:46 +02:00
parent 0a8a0c96ae
commit bf0f996c12
1 changed files with 2 additions and 0 deletions

View File

@ -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) {