> /***********************************************/
> /home/Rachit/Developments/ffmpeg/lib/libavcodec.a(cavs.o): In function
> `ff_cavs_init_top_lines':
> /home/Rachit/Developments/ffmpeg/ffmpeg-0.5/libavcodec/cavs.c:667:
> undefined
> reference to `av_mallocz'
>
you're probably missing relevant #include directives, or, if your sample app
is a C++ app then you'll probably need to wrap the #includes in extern "C"
{}.
edit:
just reread the post and looked at the sample app. the file is a .cpp so it
probably is c++. try changing the two include lines at the top so they look
like this:-
extern "C" {
#include <avcodec.h>
#include <avformat.h>
}
thanks
slip
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user