summaryrefslogtreecommitdiff
path: root/plugins/converter/converter.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/converter/converter.c')
-rw-r--r--plugins/converter/converter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/converter/converter.c b/plugins/converter/converter.c
index b54233d0..ac84debe 100644
--- a/plugins/converter/converter.c
+++ b/plugins/converter/converter.c
@@ -729,6 +729,9 @@ convert (DB_playItem_t *it, const char *outfolder, const char *outfile, int outp
goto error;
}
if (temp_file && temp_file != enc_pipe) {
+ fseek (temp_file, sizeof (wavehdr), SEEK_SET);
+ fwrite (&outsize, 1, 4, temp_file);
+
fclose (temp_file);
temp_file = NULL;
}