[FFmpeg-devel] [PATCH] Fix compilation on ARM with android gcc 4.7

Ronald S. Bultje rsbultje at gmail.com
Sat Mar 16 15:39:25 CET 2013


Hi,

On Sat, Mar 16, 2013 at 5:37 AM, Reimar Döffinger
<Reimar.Doeffinger at gmx.de> wrote:
> With the current code it fails due to running out
> of registers.
> So code the store offsets manually into the assembler
> instead.
> Note: untested since I did not actually get anything
> to run yet.
> ---
>  libavcodec/arm/dca.h |   74 ++++++++++++++++++++++++--------------------------
>  1 file changed, 36 insertions(+), 38 deletions(-)

Copying the file into a running Android emulator and then "adb -s emu
ffmpeg -i dcafatefile -f pcm_s16le output" (and then testing that the
output is, I guess, float-equal to some reference generated on the
host) may work, if you can't run it on the actual phone.

Ronald


More information about the ffmpeg-devel mailing list