mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 20:03:10 +02:00
af_volume: fix clang -Wsometimes-uninitialized
This commit is contained in:
parent
09528da0e2
commit
44f382cf98
@ -68,7 +68,7 @@ static int control(struct af_instance *af, int cmd, void *arg)
|
||||
if (s->rgain_track) {
|
||||
gain = af->replaygain_data->track_gain;
|
||||
peak = af->replaygain_data->track_peak;
|
||||
} else if (s->rgain_album) {
|
||||
} else {
|
||||
gain = af->replaygain_data->album_gain;
|
||||
peak = af->replaygain_data->album_peak;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user