ports/109379: ffmpeg-devel can't dynamically link to faad2

Bill Fenner fenner at research.att.com
Wed Feb 21 06:00:20 UTC 2007


>Number:         109379
>Category:       ports
>Synopsis:       ffmpeg-devel can't dynamically link to faad2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 21 06:00:15 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Bill Fenner
>Release:        FreeBSD 6.0-SECURITY i386
>Organization:
Fenron
>Environment:
System: FreeBSD frogbits.attlabs.att.com 6.0-SECURITY FreeBSD 6.0-SECURITY #0: Mon Dec 4 04:43:21 UTC 2006 root at builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	
The ffmpeg-devel Makefile provides --enable-faadbin to the ffmpeg
configure script, which enables fancy runtime loading of libfaad.

Recent(?) changes to libfaad includes renaming of all the
library functions, and #defines in faad.h to map the old
functions to new ones.  However, the ffmpeg linkage
is done with fancy macros, which don't end up allowing
the expansion of the faad.h macros.

This results in ffmpeg trying to map faacDecGetErrorMessage
from a library that only has NeAACDecGetErrorMessage.
>How-To-Repeat:
	
cd /usr/ports/multimedia/ffmpeg-devel
make install

use ffmpeg to transcode an input file that has aac
>Fix:

	
Don't pass --enable-faadbin to ffmpeg.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list