Backport of "adaptivedemux2: fix critical when using an unsupported URI" into 1.22
Backport of !4396 (merged) "adaptivedemux2: fix critical when using an unsupported URI".
Commits:
- df3b2e2d adaptivedemux2: fix critical when using an unsupported URI