WavPack v5.0, rewritten, just released (Announce)
Hi,
I managed to make a native DJGPP port of Wavpack 5.0 (after messing with autoshit and configure - this steps I had to do under Linux), get it here http://rayer.g6.cz/download/download.htm#WAVPACK
I also found and fixed a bug in WVUNPACK after some years. The program was accidentally deleting the decompressed file just after it was done. I found, there is a check if created file length is zero, then there was some problem and delete the file. And guess what, it returned zero. So I tracked the DoGetFileSize() in utils.c module and found there are separate Win32 and Unix code. The DJGPP follows unix path with code
struct stat statbuf;
if (!hFile || fstat (fileno (hFile), &statbuf) || !(statbuf.st_mode & S_IFREG))
return 0;
return (int64_t) statbuf.st_size;
It is probably wrong or incompletly implemented in DJGPP. So I made a new DJGPP section where I used old good filelength(fileno(hFile) function, even we have 64-bit lfilelength() version in DJGPP 2.05 but I don't know if it supports >2GB files, maybe under NTVDM on NTFS... Anyway it works now for <2GB files :) I will also try to recompile FFMPEG with new wavpack library including the modified sources.
---
DOS gives me freedom to unlimited HW access.
Complete thread:
- WavPack v5.0, rewritten, just released - Doug, 17.12.2016, 06:35 (Announce)
- WavPack v5.0, rewritten, just released - Rugxulo, 17.12.2016, 07:05
- WavPack v5.0, rewritten, just released - RayeR, 20.12.2016, 11:54
- WavPack v5.0, rewritten, just released - RayeR, 20.12.2016, 16:28
- WavPack v5.0, rewritten, just released - Doug, 20.12.2016, 19:23
- WavPack 5.0.0, FFMPEG 2.2.16, x264 0.142.2245 for DOS - RayeR, 21.12.2016, 05:57
- WavPack v5.0, rewritten, just released - Zyzzle, 24.12.2016, 09:41
- WavPack v5.0, rewritten, just released - Oso2k, 25.12.2016, 01:45