Commit 4b069257 authored by Stefan Westerfeld's avatar Stefan Westerfeld

Fixed unused variable in HLS code.

Signed-off-by: Stefan Westerfeld's avatarStefan Westerfeld <stefan@space.twc.de>
parent b78f3f06
......@@ -436,7 +436,6 @@ hls_prepare (const string& in_dir, const string& out_dir, const string& filename
};
vector<Segment> segments;
char buffer[1024];
int line = 1;
const regex blank_re (R"(\s*(#.*)?)");
while (fgets (buffer, 1024, in_file))
{
......@@ -460,7 +459,6 @@ hls_prepare (const string& in_dir, const string& out_dir, const string& filename
segment.name = s;
segments.push_back (segment);
}
line++;
}
for (auto& segment : segments)
{
......
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