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

Michael Niedermayer michaelni at gmx.at
Tue Feb 4 19:05:15 CET 2014


On Tue, Feb 04, 2014 at 03:44:34PM +0100, Nicolas George wrote:
> Signed-off-by: Nicolas George <george at nsup.org>
> ---
>  libavdevice/Makefile        |   3 +-
>  libavdevice/uncoded_frame.c | 255 ++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 257 insertions(+), 1 deletion(-)
>  create mode 100644 libavdevice/uncoded_frame.c
> 
> 
> A bit long for what it does, but I was not comfortable leaving the feature
> without test program in the code base. Could probably have been slightly
> shorter using lavfi/movie, but that would make another library in the mix.

your testprograms are more complete than some other peoples
production level code :)

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':
f_ebur128.c:(.text+0x831): undefined reference to `swr_alloc'
f_ebur128.c:(.text+0x8de): undefined reference to `swr_init'
libavfilter/libavfilter.a(f_ebur128.o): In function `filter_frame':
f_ebur128.c:(.text+0x1993): undefined reference to `swr_convert'
libavfilter/libavfilter.a(f_ebur128.o): In function `uninit':
f_ebur128.c:(.text.unlikely+0x1ac): undefined reference to `swr_free'
libavfilter/libavfilter.a(vf_pp.o): In function `pp_filter_frame':
vf_pp.c:(.text+0xc5): undefined reference to `pp_postprocess'
libavfilter/libavfilter.a(vf_pp.o): In function `pp_config_props':
vf_pp.c:(.text+0x1d4): undefined reference to `pp_get_context'
libavfilter/libavfilter.a(vf_pp.o): In function `pp_uninit':
vf_pp.c:(.text.unlikely+0x13): undefined reference to `pp_free_mode'
libavfilter/libavfilter.a(vf_pp.o): In function `pp_init':
vf_pp.c:(.text.unlikely+0x43): undefined reference to `pp_get_mode_by_name_and_quality'
libavfilter/libavfilter.a(vf_pp.o): In function `pp_uninit':
vf_pp.c:(.text.unlikely+0x2a): undefined reference to `pp_free_context'
libavfilter/libavfilter.a(vf_sab.o): In function `open_filter_param':
vf_sab.c:(.text+0x4f): undefined reference to `sws_getGaussianVec'
vf_sab.c:(.text+0xa8): undefined reference to `sws_getContext'

...

same if i run
make testprogs

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct answer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140204/5e633e5e/attachment.asc>


More information about the ffmpeg-devel mailing list