diff options
-rw-r--r-- | main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -272,6 +272,8 @@ static struct media_entity_pad *parse_pad_format(struct media_device *media, if (*p++ != '[') return NULL; + for (; isspace(*p); ++p); + if (isalnum(*p)) { ret = parse_format(format, p, &end); if (ret < 0) |