aboutsummaryrefslogtreecommitdiff
path: root/audio/vorbis-tools/files/patch-oggenc::audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/vorbis-tools/files/patch-oggenc::audio.c')
-rw-r--r--audio/vorbis-tools/files/patch-oggenc::audio.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/vorbis-tools/files/patch-oggenc::audio.c b/audio/vorbis-tools/files/patch-oggenc::audio.c
new file mode 100644
index 000000000000..997207d3b7fd
--- /dev/null
+++ b/audio/vorbis-tools/files/patch-oggenc::audio.c
@@ -0,0 +1,13 @@
+
+$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;