[FFmpeg-devel] [PATCH] Fix Vorbis encoder Xiph dependency

Panagiotis Issaris takis.issaris
Thu May 10 16:18:28 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

When configuring ffmpeg with all decoders disabled, a problem occurs:
./configure --disable-decoders
...
gcc -L"/usr/local/src/ffmpeg"/libavformat
- -L"/usr/local/src/ffmpeg"/libavcodec -L"/usr/local/src/ffmpeg"/libavutil
- -Wl,--warn-common  -rdynamic -export-dynamic -Wl,--as-needed
- -Wl,-rpath-link,"/usr/local/src/ffmpeg"/libavcodec
- -Wl,-rpath-link,"/usr/local/src/ffmpeg"/libavformat
- -Wl,-rpath-link,"/usr/local/src/ffmpeg"/libavutil -g -o ffmpeg_g
ffmpeg.o cmdutils.o -lavformat -lavcodec -lavutil -lm -lz -ldl
/usr/local/src/ffmpeg/libavcodec/libavcodec.a(vorbis.o): In function
`vorbis_decode_init':
/usr/local/src/ffmpeg/libavcodec/vorbis.c:1061: undefined reference to
`ff_split_xiph_headers'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1

The attached patch fixes this by making sure the Vorbis' encoders
references to ff_split_xiph_headers() are there.

 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

With friendly regards,
Takis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGQym09kOxLuzz4CkRAtoqAJ0ckjuSQmWkSAOb5hix+RC5VtWj+ACfb/xG
TjMzBwPBGn6y7TbTnnQr6Jw=
=lL05
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pi-20070510T161259-ffmpeg-vorbis_enc_xiph_dep.diff
Type: text/x-patch
Size: 716 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070510/badae830/attachment.bin>



More information about the ffmpeg-devel mailing list