mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 20:01:53 +00:00
Merged 2229
This commit is contained in:
parent
cde2eab9b1
commit
b9c47da897
@ -1,3 +1,7 @@
|
||||
2004-09-28 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvextract: bug fix: The WAV writer was not endian safe.
|
||||
|
||||
2004-09-27 Moritz Bunkus <moritz@bunkus.org>
|
||||
|
||||
* mkvmerge: bug fix: The charset was not set correctly on Solaris.
|
||||
|
@ -970,8 +970,8 @@ close_files() {
|
||||
case TYPEWAV:
|
||||
// Fix the header with the real number of bytes written.
|
||||
tracks[i].out->setFilePointer(0);
|
||||
tracks[i].wh.riff.len = tracks[i].bytes_written + 36;
|
||||
tracks[i].wh.data.len = tracks[i].bytes_written;
|
||||
put_uint32(&tracks[i].wh.riff.len, tracks[i].bytes_written + 36);
|
||||
put_uint32(&tracks[i].wh.data.len, tracks[i].bytes_written);
|
||||
tracks[i].out->write(&tracks[i].wh, sizeof(wave_header));
|
||||
delete tracks[i].out;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user