avfilter/af_silenceremove: cover default case too

This commit is contained in:
Paul B Mahol 2021-09-07 18:56:41 +02:00
parent 9e33572b3d
commit 1d1e8a47b7
1 changed files with 4 additions and 0 deletions

View File

@ -511,6 +511,8 @@ static int config_input(AVFilterLink *inlink)
break;
}
break;
default:
return AVERROR_BUG;
}
return 0;
@ -847,6 +849,8 @@ silence_copy_flush:
case SILENCE_STOP:
silence_stop:
break;
default:
ret = AVERROR_BUG;
}
av_frame_free(&in);