Opened 11 years ago

Closed 11 years ago

#37347 closed defect (fixed)

x264 opportunistically links against ffmpeg

Reported by: neverpanic (Clemens Lang) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: neverpanic (Clemens Lang)
Port: x264

Description

x264's ./configure script automatically picks up a number of libraries and links against them if present, but does not declare a dependency. In Detail, those are:

  • libswscale (./configure, line 811)
  • libavformat, libavcodec (./configure, line 827)
  • libz, libbz2 (./configure, line 833)

The x264 Portfile should disable linking against these libraries (or enable linking against them explicitly and declare a dependency, which however doesn't seem to be a good idea seeing that most of those are provided by ffmpeg, which already has a x264 dependency):

configure.args-append --disable-avs --disable-swscale --disable-lavf --disable-ffms --disable-gpac

Change History (2)

comment:1 Changed 11 years ago by neverpanic (Clemens Lang)

Port: x264 added

comment:2 Changed 11 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.