Browse Source

demux: hls: check for quotes

refs #23187
pull/100/head
Francois Cartegnie 7 years ago
parent
commit
74459499e1
  1. 3
      modules/demux/hls/playlist/Tags.cpp

3
modules/demux/hls/playlist/Tags.cpp

@ -118,6 +118,9 @@ Attribute Attribute::unescapeQuotes() const
std::string Attribute::quotedString() const
{
if(!value.empty() && value.at(0) != '"')
return value;
if(value.length() < 2)
return "";

Loading…
Cancel
Save