[FFmpeg-devel] [PATCH 5/5] lavd: add uncoded_frame test program.

Nicolas George george at nsup.org
Tue Feb 4 20:18:49 CET 2014


Le sextidi 16 pluviôse, an CCXXII, Michael Niedermayer a écrit :
> your testprograms are more complete than some other peoples
> production level code :)

Thanks.

> seems failing to link here though
> 
> make libavdevice/uncoded_frame-test
> LD  libavdevice/uncoded_frame-test
> libavfilter/libavfilter.a(f_ebur128.o): In function `config_audio_output':

I see: the usual curse of static libraries (I usually build shared myself to
gain a few second at linking):

avfilter_register_all() -> ff_lavfi_demuxer -> avfilter_register_all() ->
ff_vf_scale -> libswscale

(and the same for swr and postproc), but the libavfilter -> libswscale
dependency is not visible in the lavd Makefile.

It can be trivially fixed with:

-FFLIBS-$(CONFIG_LAVFI_INDEV) += avfilter
+FFLIBS-$(CONFIG_LAVFI_INDEV) += avfilter swresample swscale postproc

but that will cause failures when something is disabled. I will need to
think about it to find a clean fix, but in the meantime people can test this
patch.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140204/1434845d/attachment.asc>


More information about the ffmpeg-devel mailing list