On 9/3/11 1:31 AM, Ronald S. Bultje wrote:
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>
}
For the same purpose: the CXXFLAGS must contain -D__STDC_CONSTANT_MACROS
Otherwise you'll end up missing some 64bit defines.
lu
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api