diff --git a/libavfilter/vf_pad.c b/libavfilter/vf_pad.c
index 4499399dd6c03405edee244cde5d0d18e44175e0..55e83f7882956ae5b0aa8e195410b69f5c889f46 100644
--- a/libavfilter/vf_pad.c
+++ b/libavfilter/vf_pad.c
@@ -306,7 +306,7 @@ static void draw_slice(AVFilterLink *link, int y, int h, int slice_dir)
 
 AVFilter avfilter_vf_pad = {
     .name          = "pad",
-    .description   = "Add paddings to the input image.",
+    .description   = NULL_IF_CONFIG_SMALL("Add paddings to the input image."),
 
     .priv_size     = sizeof(PadContext),
     .init          = init,