but in VS2008 line MPEG1or2FileServerDemux::createNew rise exeption:
First-chance exception at 0x7c812afb in testvideomc.exe: Microsoft C++
exception: int at memory location 0x0011f880..
and program abnormally closed after this.
what this can mean?
It means that a memory access exception occurr
i've try to get file duration of mpeg1 video file like this:
int VIDEOMC_API GetFileDuration(const char* inputFileName)
{
TaskScheduler* scheduler = BasicTaskScheduler::createNew();
BasicUsageEnvironment* env = BasicUsageEnvironment::createNew(*scheduler);
MPEG1or2FileServerDemux* demux =
MP