[Libav-user] Link error of static libavcodec: libavcodec/eac3_core_bsf.c:39: undefined reference to `ff_ac3_parse_header'

nurupo nurupocontributions at gmail.com
Fri Jun 15 11:23:57 EEST 2018


Thanks, --disable-bsfs solved the issue.

On Wed, Jun 13, 2018 at 6:07 AM, Carl Eugen Hoyos <ceffmpeg at gmail.com>
wrote:

> 2018-06-12 5:19 GMT+02:00, nurupo <nurupocontributions at gmail.com>:
>
> > I have built a static libavcodec and I'm trying to link it to an
> > application. I'm cross-compiling to Windows using mingw32-w64. When
> linking
> > the static libavcodec to my application I get the following errors:
> >
> > /root/prefix/lib/libavcodec.a(eac3_core_bsf.o): In function
> > `eac3_core_filter':
> > /root/ffmpeg-4.0/libavcodec/eac3_core_bsf.c:39: undefined reference to
> > `ff_ac3_parse_header'
> > /root/ffmpeg-4.0/libavcodec/eac3_core_bsf.c:55: undefined reference to
> > `ff_ac3_parse_header'
>
> As said, work-arounds include "--disable-bsf=eac3_core", "--disable-bsfs"
> and "--enable-parser=ac3".
>
> Should be fixed, thank you for the report!
>
> Carl Eugen
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20180615/559d0112/attachment.html>


More information about the Libav-user mailing list