Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2007 21:32:47 -0800 (PST)
From:      Bill Fenner <fenner@research.att.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/109379: ffmpeg-devel can't dynamically link to faad2
Message-ID:  <200702210532.l1L5Wltb015308@frogbits.attlabs.att.com>
Resent-Message-ID: <200702210600.l1L60Jqn018837@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702210532.l1L5Wltb015308>