This commit is contained in:
SteveR-PMP 2024-03-15 16:52:55 -07:00
parent 5bc2ba4a85
commit ab2736ab50
2 changed files with 4 additions and 4 deletions

View File

@ -438,7 +438,7 @@ bool PlaylistOrderFn(const MediaPlaylist*& a, const MediaPlaylist*& b) {
} }
bool TagslistOrderFn(const MediaTagslist& a, const MediaTagslist& b) { bool TagslistOrderFn(const MediaTagslist& a, const MediaTagslist& b) {
return a.playlist->GetMediaInfo().index() < return a.playlist->GetMediaInfo().index() <
b.playlist->GetMediaInfo().index(); b.playlist->GetMediaInfo().index();
} }
@ -490,7 +490,7 @@ void AppendPlaylists(const std::string& default_audio_language,
audio_playlists.sort(TagslistOrderFn); audio_playlists.sort(TagslistOrderFn);
} }
for (const auto& pl : audio_playlists) { for (const auto& pl : audio_playlists) {
BuildMediaTag(*pl.playlist, pl.group_id, pl.is_default, pl.is_autoselect, BuildMediaTag(*pl.playlist, pl.group_id, pl.is_default, pl.is_autoselect,
base_url, content); base_url, content);
} }
} }
@ -504,7 +504,7 @@ void AppendPlaylists(const std::string& default_audio_language,
subtitle_playlists.sort(TagslistOrderFn); subtitle_playlists.sort(TagslistOrderFn);
} }
for (const auto& pl : subtitle_playlists) { for (const auto& pl : subtitle_playlists) {
BuildMediaTag(*pl.playlist, pl.group_id, pl.is_default, pl.is_autoselect, BuildMediaTag(*pl.playlist, pl.group_id, pl.is_default, pl.is_autoselect,
base_url, content); base_url, content);
} }
} }

View File

@ -278,7 +278,7 @@ bool EsParserTeletext::ParseDataBlock(const int64_t pts,
} }
void EsParserTeletext::UpdateCharset() { void EsParserTeletext::UpdateCharset() {
memcpy(current_charset_, TELETEXT_CHARSET_G0_LATIN, memcpy(current_charset_, TELETEXT_CHARSET_G0_LATIN,
sizeof(TELETEXT_CHARSET_G0_LATIN)); sizeof(TELETEXT_CHARSET_G0_LATIN));
if (charset_code_ > 7) { if (charset_code_ > 7) {
return; return;