1 /* 2 mkvmerge -- utility for splicing together matroska files 3 from component media subtypes 4 5 Distributed under the GPL v2 6 see the file COPYING for details 7 or visit https://www.gnu.org/licenses/old-licenses/gpl-2.0.html 8 9 helper functions for SPU data (SubPicture Unist — subtitles on DVDs) 10 11 Written by Moritz Bunkus <moritz@bunkus.org>. 12 */ 13 14 #pragma once 15 16 #include "common/common_pch.h" 17 18 #include "common/timestamp.h" 19 20 namespace mtx::spu { 21 22 timestamp_c get_duration(unsigned char const *data, std::size_t const buf_size); 23 void set_duration(unsigned char *data, std::size_t const buf_size, timestamp_c const &duration); 24 25 } 26