diff options
-rw-r--r-- | demux/demux.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/demux/demux.c b/demux/demux.c index af7277941e..a100149a48 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -663,10 +663,8 @@ static int decode_gain(demuxer_t *demuxer, const char *tag, float *out) float dec_val; tag_val = mp_tags_get_str(demuxer->metadata, tag); - if (!tag_val) { - mp_msg(demuxer->log, MSGL_V, "Replaygain tags not found\n"); + if (!tag_val) return -1; - } if (decode_float(tag_val, &dec_val)) { mp_msg(demuxer->log, MSGL_ERR, "Invalid replaygain value\n"); |