Skip to content
  • Rémi Denis-Courmont's avatar
    dshow: check CoInitialize() in callbacks · bc985660
    Rémi Denis-Courmont authored
    If the calling thread is using COM with MTA model, then CoInitializeEx()
    will fail, and CoUninitialize() will be unbalanced. Ultimately, the
    calling thread is likely to crash. (CoInitializeEx() could also fail in
    case of memory error, but that is unlikely).
    bc985660