Build fix
Clang built ok but GCC didn't like it. Add missing header. Remove extended initializer. Change-Id: I1abbfdc49c94d8e6a39491a1b1e8c698ee2c0b88
This commit is contained in:
parent
4a0193a816
commit
8951894f13
|
@ -7,6 +7,7 @@
|
|||
#include "mpd/base/bandwidth_estimator.h"
|
||||
|
||||
#include <cmath>
|
||||
#include <cstdlib>
|
||||
|
||||
#include "base/logging.h"
|
||||
|
||||
|
|
|
@ -131,7 +131,8 @@ class SegmentTemplateTest : public DynamicMpdBuilderTest {
|
|||
const char kSElementTemplate[] = "<S t=\"%lu\" d=\"%lu\" r=\"%lu\"/>\n";
|
||||
const char kSElementTemplateWithoutR[] = "<S t=\"%lu\" d=\"%lu\"/>\n";
|
||||
|
||||
segment_infos_for_expected_out_.push_back({start_time, duration, repeat});
|
||||
SegmentInfo s = {start_time, duration, repeat};
|
||||
segment_infos_for_expected_out_.push_back(s);
|
||||
if (repeat == 0) {
|
||||
expected_s_elements_ +=
|
||||
base::StringPrintf(kSElementTemplateWithoutR, start_time, duration);
|
||||
|
|
Loading…
Reference in New Issue