[Ffmpeg-devel] ffmpeg build patches

Nikns Siankin nikns
Fri Dec 8 21:22:56 CET 2006


On Fri, Dec 08, 2006 at 07:33:24PM +0100, Diego Biurrun wrote:
>On Fri, Dec 08, 2006 at 05:48:26PM +0200, Nikns Siankin wrote:
>> On Fri, Dec 08, 2006 at 03:46:50PM -0000, M??ns Rullg??rd wrote:
>> >
>> >Nikns Siankin said:
>> >> On Fri, Dec 08, 2006 at 02:15:24PM -0000, M??ns Rullg??rd wrote:
>> >>>
>> >>>Diego Biurrun said:
>> >>>> On Fri, Dec 08, 2006 at 03:47:38PM +0200, Nikns Siankin wrote:
>> >>>>> Updating OpenBSD ffmpeg port, I have made patches which could be
>> >>>>> commited into ffmpeg project.
>> >>>>
>> >>>>>  if test "$memalign" = "no" -a "$mmx" = "yes" -a \
>> >>>>>          "$memalign_hack" != "yes" -a "$targetos" != "Darwin" -a \
>> >>>>> -        "$targetos" != "FreeBSD" ; then
>> >>>>> +        "$targetos" != "FreeBSD" -a "$targetos" != "OpenBSD"; then
>> >>>>>      die "Error, no memalign() but SSE enabled, disable it or use
>> >>>>> --enable-memalign-hack."
>> >>>>>  fi
>> >>>>
>> >>>> Probably OK.
>> >>>
>> >>>It is probably OK in the sense that the end result is correct.  It is
>> >>>not OK in the sense that those lines are turning into a right mess.  This
>> >>>is through no fault of the patch author, but it is the case.  I suggest we
>> >>>add a need_memalign variable that is set appropriately in the various OS
>> >>>sections instead.
>> >>>
>> >>>The patch can be applied for now though.
>> >> What about first two snippets?
>> >
>> >The first is wrong, as Diego said.  The second is good, if that's how
>> >shared libs should be named on OpenBSD.
>> 
>> >wrong
>> Why should we have lib/pkgconfig/libswscaler.pc
>> if we don't build that library?
>
>That's not what your patch changes.  You change header installation and
>it's wrong.  The libswscale headers are used in libavcodec as well.
Yeah, but libswscaler.pc gets somehow installed as header too ;]
So thats complately correct to have libswscaler.pc even if not having
libswscaler shared lib?!

>
>Diego
>
>_______________________________________________
>ffmpeg-devel mailing list
>ffmpeg-devel at mplayerhq.hu
>http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel




More information about the ffmpeg-devel mailing list