From ed84256d7687b8255991308361e26013b7071dd9 Mon Sep 17 00:00:00 2001 From: mschroffel Date: Thu, 17 Mar 2016 23:58:13 +0000 Subject: included CMakelists.txt into dist --- src/AS_DCP_TimedText.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/AS_DCP_TimedText.cpp') diff --git a/src/AS_DCP_TimedText.cpp b/src/AS_DCP_TimedText.cpp index f738a59..e6f3869 100644 --- a/src/AS_DCP_TimedText.cpp +++ b/src/AS_DCP_TimedText.cpp @@ -1,5 +1,5 @@ /* -Copyright (c) 2008-2015, John Hurst +Copyright (c) 2008-2016, John Hurst All rights reserved. Redistribution and use in source and binary forms, with or without @@ -43,15 +43,16 @@ static std::string TIMED_TEXT_DEF_LABEL = "Timed Text Track"; //------------------------------------------------------------------------------------------ -const char* +// +static const char* MIME2str(TimedText::MIMEType_t m) { if ( m == TimedText::MT_PNG ) return "image/png"; - else if ( m == TimedText::MT_OPENTYPE ) + else if( m == TimedText::MT_OPENTYPE ) return "application/x-font-opentype"; - + return "application/octet-stream"; } -- cgit v1.2.3