diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/vbrfix.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugins/vbrfix.c b/apps/plugins/vbrfix.c index 88f0a6579e..79fa134499 100644 --- a/apps/plugins/vbrfix.c +++ b/apps/plugins/vbrfix.c | |||
@@ -150,7 +150,7 @@ static bool vbr_fix(const char *selected_file) | |||
150 | xingupdate(0); | 150 | xingupdate(0); |
151 | 151 | ||
152 | rc = rb->mp3info(&entry, selected_file); | 152 | rc = rb->mp3info(&entry, selected_file); |
153 | if(rc < 0) { | 153 | if(rc) { |
154 | fileerror(rc); | 154 | fileerror(rc); |
155 | return true; | 155 | return true; |
156 | } | 156 | } |
@@ -258,6 +258,8 @@ static bool vbr_fix(const char *selected_file) | |||
258 | } | 258 | } |
259 | else | 259 | else |
260 | { | 260 | { |
261 | rb->close(fd); | ||
262 | |||
261 | /* Not a VBR file */ | 263 | /* Not a VBR file */ |
262 | DEBUGF("Not a VBR file\n"); | 264 | DEBUGF("Not a VBR file\n"); |
263 | rb->splash(HZ*2, ID2P(LANG_NOT_A_VBR_FILE)); | 265 | rb->splash(HZ*2, ID2P(LANG_NOT_A_VBR_FILE)); |