Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on Audio Call using Opencore-amr with 64-bit support #420

Open
GoogleCodeExporter opened this issue Mar 18, 2015 · 1 comment
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.  Follow the steps provided in the wiki page to include opencore-amr codec 
(add opencore-amr binaries for armv7, armv7s, arm64, etc and set 
-DHAVE_OPENCORE_AMR to 1)
2.  Perform a call (the phone rings but when the other side answer the call, 
the app crashes)

Note that we are using opencore-amr previously without 64-bit support and it is 
working properly. Since Apple requires that we include 64-bit support in our 
future apps this February 2015, we tested opencore-amr with 64-bit support and 
found out that it is not working.  Any help is much appreciated.

What is the expected output? What do you see instead?
Call must proceed.  App crashes when the call is answered.

What version of the product are you using? On what operating system?
We are using Doubango 2.0 on iOS 8.1.2

Please provide any additional information below.
According to Xcode, there is a Bad Access in this line of code (the 
if-condition statement) found in tdav_codec_amr.c file.

if ((ret_size = Encoder_Interface_Encode(amr->encoder, amr->encoder_mode, 
in_data, outbuf, 0)) <= 0) {
    TSK_DEBUG_ERROR("Encoder_Interface_Encode() failed");
    goto bail;
}

Thanks.

Original issue reported on code.google.com by [email protected] on 7 Jan 2015 at 6:25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant