AVIMakeCompressedStream gibt Zahl ungleich Fehlercodes zurück
-
AVICOMPRESSOPTIONS options; ZeroMemory(&options, sizeof(AVICOMPRESSOPTIONS)); options.fccType = streamtypeVIDEO; options.fccHandler = mmioFOURCC('D','I','B',' '); hResult = AVIMakeCompressedStream(&m_lpCompressedVideoStream, m_lpVideoStream, &options, NULL);Das sollte so eigentlich funktionieren, allerdings hab ich im Moment das Problem, das AVIMakeCompressedStream eine negative Zahl zurückgibt, die aber keinem Fehlercode entspricht. Dem Debugger zu folge liegt das daran das ich CoInitialize und CoUninitialize nicht aufgerufen hab. Stimmt aber nicht. Hat jemand ne Idee?
Frohe Weihnachten :xmas1: