• Mark Thompson's avatar
    Revert "avutil/hwcontext_vaapi: fix SEGV in vaTerminate when vaInitialize fails" · 3420b34a
    Mark Thompson authored
    The original code is correctly following the API - vaTerminate() must
    be called to free the resources of a VADisplay after it is created by
    any of the vaGetDisplay*() calls; it is not necessary to have
    successfully called vaInitialize() on it.  The segfaults which
    prompted this change must therefore be bugs in libva or the driver it
    loads.
    
    This reverts commit 3606602f.
    3420b34a
hwcontext_vaapi.c 32.5 KB