<div dir="ltr">I do not know why some warnings are treated as errors.  I added flag -disable-werror but still the same. I will wait for update of that patch. For now I managed to build FFMPEG2.4 + aac_quality_improvment.patch. At least that problem with pulsing noice is fixed by that patch. Thanks for help!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 20 September 2014 14:14, Claudio Freire <span dir="ltr"><<a href="mailto:klaussfreire@gmail.com" target="_blank">klaussfreire@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sat, Sep 20, 2014 at 6:33 AM, adev dev <<a href="mailto:androiddevmar11@gmail.com">androiddevmar11@gmail.com</a>> wrote:<br>
> This is information about the file which cannot be compressed:<br>
>  Metadata:<br>
>     major_brand     : isom<br>
>     minor_version   : 0<br>
>     compatible_brands: isom3gp4<br>
>     creation_time   : 1948-08-31 11:42:22<br>
>   Duration: 00:00:47.68, start: 0.000000, bitrate: 96 kb/s<br>
>     Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 16000 Hz, mono, s16,<br>
> 96 kb/s<br>
>     Metadata:<br>
>       creation_time   : 1948-08-31 11:42:22<br>
>       handler_name    : SoundHandle<br>
><br>
><br>
> I managed to build FFMPEG 2.4 and it is working. I can compress sound with<br>
> parameters 96000 and sampling rate 16000. However there is problem with<br>
> applying patch aac-improvements-wip-v8g.It failes with info:  1 out of 3<br>
> hunks FAILED -- saving rejects to file libavcodec/psymodel.h.rej.  File<br>
> psymodel.h.rej looks following:<br>
<br>
</span>I guess it needs rebasing. I didn't think there were changes to those<br>
files after the last rebase, but I guess there were.<br>
<span class=""><br>
<br>
> Build fails with:<br>
><br>
> libavcodec/aaccoder.c:910:13: error: implicit declaration of function<br>
> '_AAC_CUTOFF' [-Werror=implicit-function-declaration]<br>
> libavcodec/aaccoder.c:814:44: warning: variable 'energies' set but not used<br>
> [-Wunused-but-set-variable]<br>
> libavcodec/aaccoder.c: At top level:<br>
> libavcodec/aaccoder.c:366:14: warning: 'find_max_absval' defined but not<br>
> used [-Wunused-function]<br>
> cc1: some warnings being treated as errors<br>
><br>
> make: *** [libavcodec/aaccoder.o] Error 1<br>
> make: *** Waiting for unfinished jobs....<br>
> CC    libavcodec/aacenc.o<br>
> libavcodec/aacdec.c: In function 'imdct_and_windowing_eld':<br>
> libavcodec/aacdec.c:2590:29: warning: array subscript is above array bounds<br>
> [-Warray-bounds]<br>
> libavcodec/aacdec.c:2596:29: warning: array subscript is above array bounds<br>
> [-Warray-bounds]<br>
> Native build complete, exiting...<br>
> marcin@marcin:~/android-dev/FFFMPEG_BUILDS/ffmpeg-2.4-build-scrypts$<br>
<br>
</span>Why are warnings treated as errors?<br>
<span class=""><br>
> Good info is that with 2.4 it is working but it would be very good to apply<br>
> this patch to improve quality of aac. Is there any fix for this patch<br>
> problem??<br>
<br>
</span>Yeah, rebasing. I'll do so when I find the time.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</div></div></blockquote></div><br></div>