[vlc-commits] demux: dash: fix number format string
Francois Cartegnie
git at videolan.org
Thu Apr 30 20:50:24 CEST 2015
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Apr 30 20:37:45 2015 +0200| [566a0746fc3f030ad219f54fa04f2d931fe77241] | committer: Francois Cartegnie
demux: dash: fix number format string
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=566a0746fc3f030ad219f54fa04f2d931fe77241
---
modules/demux/dash/mpd/Representation.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/dash/mpd/Representation.cpp b/modules/demux/dash/mpd/Representation.cpp
index 2db2961..276cf12 100644
--- a/modules/demux/dash/mpd/Representation.cpp
+++ b/modules/demux/dash/mpd/Representation.cpp
@@ -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 */
More information about the vlc-commits
mailing list