diff --git a/src/decoder/plugins/WavpackDecoderPlugin.cxx b/src/decoder/plugins/WavpackDecoderPlugin.cxx index 0e2a49323..871b9e1a7 100644 --- a/src/decoder/plugins/WavpackDecoderPlugin.cxx +++ b/src/decoder/plugins/WavpackDecoderPlugin.cxx @@ -78,7 +78,7 @@ WavpackOpenInput(const WavpackStreamReader64 &reader, void *wv_id, void *wvc_id, return wpc; } -gcc_pure +[[gnu::pure]] static SignedSongTime GetDuration(WavpackContext *wpc) noexcept {