1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/audio/vorbis-tools/files/patch-oggenc::audio.c
Christian Weisgerber f2107e4728 * Fix encoding of raw files.
Obtained from:	Xiph CVS

* Re-enable assert()s now that we use GNU iconv.
2002-03-26 02:49:06 +00:00

14 lines
322 B
C

$FreeBSD$
--- oggenc/audio.c.orig Sat Dec 8 03:23:01 2001
+++ oggenc/audio.c Tue Mar 26 03:32:57 2002
@@ -570,6 +570,7 @@
wav->bigendian = 0;
wav->channels = format.channels;
wav->samplesize = opt->samplesize;
+ wav->totalsamples = 0;
opt->read_samples = wav_read;
opt->readdata = (void *)wav;