diff options
author | waker <wakeroid@gmail.com> | 2011-03-15 22:09:44 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-03-15 22:09:44 +0100 |
commit | 2426fb74923fdb3db71017f200056256b1b00fd9 (patch) | |
tree | 9f2dcc6ef7cd3b6c21e5680eb8b4ab1dab1e5c22 /plugins | |
parent | 686c6b5578b4bb9f1bccc0c9104f987830690975 (diff) |
converter: fix datasize field in wavheader
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/converter/converter.c | 3 |
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; } |