mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +00:00
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...)
This commit is contained in:
parent
ae08fc4b1d
commit
1a2540214e
1 changed files with 2 additions and 1 deletions
|
@ -54,6 +54,7 @@ dnl
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <vorbis/codec.h>
|
#include <vorbis/codec.h>
|
||||||
|
#include <vorbis/vorbisenc.h>
|
||||||
|
|
||||||
int main ()
|
int main ()
|
||||||
{
|
{
|
||||||
|
@ -62,7 +63,7 @@ int main ()
|
||||||
vorbis_info vi;
|
vorbis_info vi;
|
||||||
|
|
||||||
vorbis_info_init (&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_analysis_init (&vd, &vi);
|
||||||
vorbis_block_init (&vd, &vb);
|
vorbis_block_init (&vd, &vb);
|
||||||
/* this function was added in 1.0rc3, so this is what we're testing for */
|
/* this function was added in 1.0rc3, so this is what we're testing for */
|
||||||
|
|
Loading…
Reference in a new issue