From: David I. Lehn Date: Thu, 19 Sep 2002 18:34:47 +0000 (+0000) Subject: Revert the revert to 1.0.0 vorbis.m4 code. X-Git-Tag: 1.19.3~507^2~24687 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=04d121885acc1e64b796672f4d6cc4ed000a662d;p=platform%2Fupstream%2Fgstreamer.git 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...) --- diff --git a/m4/vorbis.m4 b/m4/vorbis.m4 index 98fa5d9d24..d311a410aa 100644 --- a/m4/vorbis.m4 +++ b/m4/vorbis.m4 @@ -54,6 +54,7 @@ dnl #include #include #include +#include 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 */