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

View File

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