Hi,
Thanks for input. I have changed sample application for c only.
Now I have built application and working fine on target also, It was issue
related sequence of library link matter.

Thanks

On Thu, Feb 4, 2010 at 12:10 AM, slippyr4 <[email protected]> wrote:

> > /***********************************************/
> > /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
>




Rachit Shah
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to