mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 21:32:50 +00:00
mac arm: try to fix compilation
This commit is contained in:
parent
8676913e73
commit
6794ae35a1
@ -73,11 +73,11 @@ namespace utils
|
|||||||
{
|
{
|
||||||
if (list_decoders ? av_codec_is_decoder(codec) : av_codec_is_encoder(codec))
|
if (list_decoders ? av_codec_is_decoder(codec) : av_codec_is_encoder(codec))
|
||||||
{
|
{
|
||||||
codecs.emplace_back(
|
codecs.emplace_back(ffmpeg_codec{
|
||||||
static_cast<int>(codec->id),
|
.codec_id = static_cast<int>(codec->id),
|
||||||
codec->name ? codec->name : "unknown",
|
.name = codec->name ? codec->name : "unknown",
|
||||||
codec->long_name ? codec->long_name : "unknown"
|
.long_name = codec->long_name ? codec->long_name : "unknown"
|
||||||
);
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
std::sort(codecs.begin(), codecs.end(), [](const ffmpeg_codec& l, const ffmpeg_codec& r){ return l.name < r.name; });
|
std::sort(codecs.begin(), codecs.end(), [](const ffmpeg_codec& l, const ffmpeg_codec& r){ return l.name < r.name; });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user