aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/ffmpeg_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder/ffmpeg_plugin.c')
-rw-r--r--src/decoder/ffmpeg_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/ffmpeg_plugin.c b/src/decoder/ffmpeg_plugin.c
index 445d46512..b9debd1b8 100644
--- a/src/decoder/ffmpeg_plugin.c
+++ b/src/decoder/ffmpeg_plugin.c
@@ -338,7 +338,7 @@ static struct tag *ffmpeg_tag(const char *file)
base.tag = tag_new();
ret = ffmpeg_helper(&input, ffmpeg_tag_internal, &base);
- if (ret) {
+ if (!ret) {
tag_free(base.tag);
base.tag = NULL;
}