Commit 566a0746 authored by François Cartegnie's avatar François Cartegnie 🤞

demux: dash: fix number format string

parent 85131e63
......@@ -121,7 +121,7 @@ std::string Representation::contextualize(size_t index, const std::string &compo
{
size_t width;
iss >> width;
if (iss.peek() != '$')
if (iss.peek() != '$' && iss.peek() != 'd')
throw VLC_EGENERIC;
std::stringstream oss;
oss.width(width); /* set format string length */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment