Skip to content

Commit da55120

Browse files
committed
Reversing out the boost changes, and making them a separate commit.
Signed-off-by: [email protected] <[email protected]>
1 parent f5a5479 commit da55120

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/image/MovieFFMpeg/MovieFFMpeg.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2312,7 +2312,7 @@ namespace TwkMovie
23122312
// Get the extension support capability
23132313
//
23142314

2315-
string ext = boost::filesystem::path(m_filename).extension().string();;
2315+
string ext = boost::filesystem::extension(m_filename);
23162316
if (ext[0] == '.')
23172317
ext.erase(0, 1);
23182318
MovieFFMpegIO::MFFormatMap formats = m_io->getFormats();
@@ -5908,7 +5908,7 @@ namespace TwkMovie
59085908
"verbose: " << request.verbose << " filename: " << filename);
59095909

59105910
// Check if this is a supported output format
5911-
string ext = std::filesystem::path(m_filename).extension().string();
5911+
string ext = boost::filesystem::extension(m_filename);
59125912
if (ext[0] == '.')
59135913
ext.erase(0, 1);
59145914
avformat_alloc_output_context2(&m_avFormatContext, NULL, NULL,

0 commit comments

Comments
 (0)