Hi,

just FYI and for archive purposes:

On Wed, Jun 22, 2011 at 1:15 PM, Eric Glaser <[email protected]> wrote:
> Hi Sorry about the late response, since I have to malloc from a  C++
> file, av_malloc and av_free whose prototypes are not extern'ed with
> "C" for g++  fails due to name mangling - so I cant use them directly.
> I will have to modify the code to be able to allocate from within C
> file. I found an alternate solution though which is dump all the raw
> data to GPU - which also does the scaling. So I am using that path
> instead. Thanks much - if I have some free time, I will try to repro
> the issue again.

extern "C" {
#include <libavcodec/avcodec.h>
}

same for swscale, libavutil, libavformat, etc.

Ronald
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to