summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavfilter/af_silenceremove.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavfilter/af_silenceremove.c b/libavfilter/af_silenceremove.c
index e60f0f8d3a..65d05b4889 100644
--- a/libavfilter/af_silenceremove.c
+++ b/libavfilter/af_silenceremove.c
@@ -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);