[Buildroot] [PATCH 1/1] package/ffmpeg: Bump to version 2.3.1

Bernd Kuhls bernd.kuhls at t-online.de
Sun Aug 3 12:40:14 UTC 2014


Thomas Petazzoni <thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8
@public.gmane.org> wrote in news:20140803143250.362afa9e at free-electrons.com:

> Dear Bernd Kuhls,
> 
> On Sun, 03 Aug 2014 13:25:55 +0200, Bernd Kuhls wrote:
> 
>> output/build/ffmpeg-2.3.1/config.log contains
>> ffconf.Vyn5TU6p.c:(.text+0x1f): undefined reference to `fminf'
>> 
>> which leads to 
>> 
>> #define HAVE_FMINF 0
>> 
>> in output/build/ffmpeg-2.3.1/config.h which seems true when looking at
>> http://git.uclibc.org/uClibc/tree/libm/float_wrappers.c#n48
> 
> So, this should work without the need for your patch, right?

Hi,

I do not know why the code is broken, but without my patch ffmpeg did not 
compile. Because uClibc does not provide fminf ffmpeg´s own implementation of 
fminf in libavutil/libm.h is compiled, but this breaks.

Removing the whole fminf function works because fminf is used nowhere in 
ffmpeg.

Having a look at
http://git.videolan.org/?p=ffmpeg.git;a=history;f=libavutil/libm.h;h=
28d5df871b39a1a8f99bc9540d7f9a8ccd840d59;hb=HEAD

we can see that there were already five commits to implement fminf.
I will open a bug report.

Regards, Bernd



More information about the buildroot mailing list