Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 216118 Details for
Bug 300629
opal-3.6.6 fails to compile with celt use flag enabled (celt-0.7.0-r2)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix the problem
opal-3.6.6_fixCelt.patch (text/plain), 1.57 KB, created by
Matti Nykyri
on 2010-01-11 21:17:18 UTC
(
hide
)
Description:
Patch to fix the problem
Filename:
MIME Type:
Creator:
Matti Nykyri
Created:
2010-01-11 21:17:18 UTC
Size:
1.57 KB
patch
obsolete
>--- opal-3.6.6.orig/plugins/audio/celt/celtcodec.c 2009-09-22 03:57:45.000000000 +0300 >+++ opal-3.6.6/plugins/audio/celt/celtcodec.c 2010-01-11 19:24:02.000000000 +0200 >@@ -52,7 +52,7 @@ > { > int error = 0; > >- celt->mode = celt_mode_create(codec->sampleRate, 1, codec->parm.audio.samplesPerFrame, &error); >+ celt->mode = celt_mode_create(codec->sampleRate, codec->parm.audio.samplesPerFrame, &error); > if (celt->mode == NULL) { > return FALSE; > } >@@ -74,7 +74,9 @@ > return NULL; > } > >- celt->encoder_state = celt_encoder_create(celt->mode); >+ int error = 0; >+ >+ celt->encoder_state = celt_encoder_create(celt->mode, 1, &error); > if (celt->encoder_state == NULL ) { > celt_mode_destroy(celt->mode); > free(celt); >@@ -96,7 +98,9 @@ > return NULL; > } > >- celt->decoder_state = celt_decoder_create(celt->mode); >+ int error = 0; >+ >+ celt->decoder_state = celt_decoder_create(celt->mode, 1, &error); > if (celt->decoder_state == NULL ) { > celt_mode_destroy(celt->mode); > free(celt); >@@ -143,9 +147,9 @@ > return FALSE; > > #ifdef HAVE_CELT_0_5_0_OR_LATER >- byteCount = celt_encode(celt->encoder_state, (celt_int16_t *)fromPtr, NULL, (char *)toPtr, celt->bytes_per_packet); >+ byteCount = celt_encode(celt->encoder_state, (celt_int16 *)fromPtr, NULL, (char *)toPtr, celt->bytes_per_packet); > #else >- byteCount = celt_encode(celt->encoder_state, (celt_int16_t *)fromPtr, (char *)toPtr, celt->bytes_per_packet); >+ byteCount = celt_encode(celt->encoder_state, (celt_int16 *)fromPtr, (char *)toPtr, celt->bytes_per_packet); > #endif > if (byteCount < 0) { > return 0;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 300629
: 216118