Skip to content

Commit

Permalink
Make initializer order match declaration order
Browse files Browse the repository at this point in the history
Shut up the CI failure
  • Loading branch information
arch1t3cht committed Feb 16, 2025
1 parent fa9c691 commit f22e144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audiosource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ BestAudioFrame *BestAudioSource::Cache::GetFrame(int64_t N) {
}

BestAudioSource::BestAudioSource(const std::filesystem::path &SourceFile, int Track, int AjustDelay, int Threads, int CacheMode, const std::filesystem::path &CachePath, const std::map<std::string, std::string> *LAVFOpts, double DrcScale, const ProgressFunction &Progress)
: Source(SourceFile), AudioTrack(Track), DrcScale(DrcScale), Threads(Threads), FrameCache(TrackIndex) {
: FrameCache(TrackIndex), DrcScale(DrcScale), Source(SourceFile), AudioTrack(Track), Threads(Threads) {
// Only make file path absolute if it exists to pass through special protocol paths
std::error_code ec;
if (std::filesystem::exists(SourceFile, ec))
Expand Down

0 comments on commit f22e144

Please sign in to comment.