Merge branch 'develop' of github.com:epoupon/lms into develop
This commit is contained in:
@@ -241,7 +241,7 @@ AudioFile::visitAttachedPictures(std::function<void(const Picture&)> func) const
|
|||||||
std::optional<AudioFileFormat>
|
std::optional<AudioFileFormat>
|
||||||
guessMediaFileFormat(const std::filesystem::path& file)
|
guessMediaFileFormat(const std::filesystem::path& file)
|
||||||
{
|
{
|
||||||
AVOutputFormat* format {av_guess_format(NULL,file.string().c_str(),NULL)};
|
const AVOutputFormat* format {av_guess_format(NULL,file.string().c_str(),NULL)};
|
||||||
if (!format || !format->name)
|
if (!format || !format->name)
|
||||||
return {};
|
return {};
|
||||||
|
|
||||||
|
|||||||
@@ -20,6 +20,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <string_view>
|
#include <string_view>
|
||||||
|
#include <optional>
|
||||||
|
|
||||||
#include <boost/asio/ip/address.hpp>
|
#include <boost/asio/ip/address.hpp>
|
||||||
#include <Wt/WDateTime.h>
|
#include <Wt/WDateTime.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user