Hello I've got this:
hello.h
class Media{
AVFormatContext *formatCont;
AVCodecContext *codecCont;
AVCodec *codec;
AVFrame *frame;
public:
Media(const char* filename);
};
hello.cpp
int _tmain(int argc, _TCHAR* argv[])
{
const char *filename = "C:\\Users\\Dario\\Downloads\\eMule\\Incoming\
\****.avi";
Media med(filename);
return 0;
}
For some reason beyond me is giving me an exception (when passing the
argument to the constructor) of memory access violation.... Why is
that???? Am I become dumb?
tnx