Commit 566a0746 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: dash: fix number format string

parent 85131e63
...@@ -121,7 +121,7 @@ std::string Representation::contextualize(size_t index, const std::string &compo ...@@ -121,7 +121,7 @@ std::string Representation::contextualize(size_t index, const std::string &compo
{ {
size_t width; size_t width;
iss >> width; iss >> width;
if (iss.peek() != '$') if (iss.peek() != '$' && iss.peek() != 'd')
throw VLC_EGENERIC; throw VLC_EGENERIC;
std::stringstream oss; std::stringstream oss;
oss.width(width); /* set format string length */ 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