chromium/media/formats/webm/webm_info_parser.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "media/formats/webm/webm_info_parser.h"

#include "base/logging.h"
#include "media/formats/webm/webm_constants.h"

namespace media {

// Default timecode scale, in nanoseconds, if the TimecodeScale element is not
// specified in the INFO element.
static const int kWebMDefaultTimecodeScale =;

WebMInfoParser::WebMInfoParser() :{}

WebMInfoParser::~WebMInfoParser() = default;

int WebMInfoParser::Parse(const uint8_t* buf, int size) {}

WebMParserClient* WebMInfoParser::OnListStart(int id) {}

bool WebMInfoParser::OnListEnd(int id) {}

bool WebMInfoParser::OnUInt(int id, int64_t val) {}

bool WebMInfoParser::OnFloat(int id, double val) {}

bool WebMInfoParser::OnBinary(int id, const uint8_t* data, int size) {}

bool WebMInfoParser::OnString(int id, const std::string& str) {}

}  // namespace media