From ee9aacc49e6768e3266ff539bccbd8ba16e484c8 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Tue, 22 May 2012 15:11:14 +0200 Subject: [PATCH] Fixed HTTP Dynamic (F4V) processing. --- lib/mp4.cpp | 4 ++-- lib/mp4.h | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/mp4.cpp b/lib/mp4.cpp index ee0aa703..85ded767 100644 --- a/lib/mp4.cpp +++ b/lib/mp4.cpp @@ -187,7 +187,7 @@ void ABST::SetVersion( bool NewVersion) { } void ABST::SetReserved( ) { - Container->SetPayload((uint32_t)4,Box::uint32_to_uint8(0)); + SetPayload((uint32_t)4,Box::uint32_to_uint8(0)); } void ABST::WriteContent( ) { @@ -393,7 +393,7 @@ std::string GenerateLiveBootstrap( uint32_t CurMediaTime ) { abst.AddServerEntry(""); abst.AddQualityEntry(""); abst.WriteContent(); - + std::string Result; Result.append((char*)abst.GetBoxedData(), (int)abst.GetBoxedDataSize()); return Result; diff --git a/lib/mp4.h b/lib/mp4.h index b4ec5417..0ef24659 100644 --- a/lib/mp4.h +++ b/lib/mp4.h @@ -75,7 +75,6 @@ namespace MP4{ std::vector Qualities; std::vector SegmentRunTables; std::vector FragmentRunTables; - Box * Container; };//ABST Box struct afrt_fragmentrunentry {