diff options
author | David I. Lehn <dlehn@users.sourceforge.net> | 2002-09-19 18:34:47 +0000 |
---|---|---|
committer | David I. Lehn <dlehn@users.sourceforge.net> | 2002-09-19 18:34:47 +0000 |
commit | 04d121885acc1e64b796672f4d6cc4ed000a662d (patch) | |
tree | 56ede55125284aeb8c85ac8adbb5aac5ffb16623 | |
parent | 7c3c537af0dadd4dc473a93f84f6ca918087bb86 (diff) | |
download | gst-plugins-bad-04d121885acc1e64b796672f4d6cc4ed000a662d.tar.gz gst-plugins-bad-04d121885acc1e64b796672f4d6cc4ed000a662d.tar.bz2 gst-plugins-bad-04d121885acc1e64b796672f4d6cc4ed000a662d.zip |
Revert the revert to 1.0.0 vorbis.m4 code.
Original commit message from CVS:
Revert the revert to 1.0.0 vorbis.m4 code.
This bugfix has been accepted upstream to fix a segfault due to a bogus
function parameter. (the cause of the segfault should probably be fixed but
until then...)
-rw-r--r-- | m4/vorbis.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/vorbis.m4 b/m4/vorbis.m4 index 98fa5d9d..d311a410 100644 --- a/m4/vorbis.m4 +++ b/m4/vorbis.m4 @@ -54,6 +54,7 @@ dnl #include <stdlib.h> #include <string.h> #include <vorbis/codec.h> +#include <vorbis/vorbisenc.h> int main () { @@ -62,7 +63,7 @@ int main () vorbis_info vi; vorbis_info_init (&vi); - vorbis_encode_init (&vi, 2, 44100, -1, 128, -1); + vorbis_encode_init (&vi, 2, 44100, -1, 128000, -1); vorbis_analysis_init (&vd, &vi); vorbis_block_init (&vd, &vb); /* this function was added in 1.0rc3, so this is what we're testing for */ |