[Ffmpeg-devel] how to compile output_example.c

Luca Abeni lucabe72
Sun Aug 6 19:47:52 CEST 2006

On Sun, 2006-08-06 at 22:24 +0530, Turbo wrote:
> > Try to use nm or objdump to check if the libav{codec, format, util}
> > libraries from /usr/local/lib contain sws_* symbols.
> >
> 'nm /usr/local/lib/libavcodec.a | grep sws' gives:-
> 00000d90 T sws_freeContext
> 00000c50 T sws_getContext
> 00000df0 T sws_scale
> 'nm /usr/local/lib/libavformat.a | grep sws' gives no output
> 'nm /usr/local/lib/libavutil.a | grep sws' gives no output
Then it could be a C++ issue...
Did you remember about protecting the #includes with extern "C"?
Something like:
extern "C" {
#include "avformat.h"
#include "swscale.h"


More information about the ffmpeg-devel mailing list