0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

af_volume: fix clang -Wsometimes-uninitialized

This commit is contained in:
Kevin Mitchell 2014-04-12 23:23:50 -07:00 committed by wm4
parent 09528da0e2
commit 44f382cf98

View File

@ -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;
}