From b2bc3c239ccc8ef661a1554925f15dd5bd9b06be Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Thu, 1 Feb 2024 11:06:38 +0100 Subject: [PATCH] demux_mf: explain why a printf format is unsupported --- demux/demux_mf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/demux/demux_mf.c b/demux/demux_mf.c index 1dad1368ae..3ab6683cfd 100644 --- a/demux/demux_mf.c +++ b/demux/demux_mf.c @@ -186,7 +186,9 @@ static mf_t *open_mf_pattern(void *talloc_ctx, struct demuxer *d, char *filename // nspec==0 (zero specifiers) is rejected because fname wouldn't advance. if (bad_spec || nspec != 1) { - mp_err(log, "unsupported expr format: '%s'\n", filename); + mp_err(log, + "unsupported expr format: '%s' - exactly one format specifier of the form %%[.][NUM]d is expected\n", + filename); goto exit_mf; }