Commit ec6d2678 authored by Max Kellermann's avatar Max Kellermann

decoder: removed "volatile" modifier

The variable "next_song" is already protected by a memory barrier. "total_time" is not important for synchronization, and we don't need "volatile" here.
parent 863badd9
......@@ -55,8 +55,8 @@ struct decoder_control {
struct audio_format out_audio_format;
struct song *current_song;
struct song *volatile next_song;
volatile float total_time;
struct song *next_song;
float total_time;
};
extern struct decoder_control dc;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment