static void Close(vlc_va_t *va, void **ctx) { vlc_va_sys_t *sys = va->sys; (void) ctx; directx_va_Close(va, &sys->dx_sys); if (sys->hd3d9_dll) FreeLibrary(sys->hd3d9_dll); free((char *)va->description); free(sys); }
static void Close(vlc_va_t *va, AVCodecContext *ctx) { vlc_va_sys_t *sys = va->sys; (void) ctx; if (sys->filter) { DeleteFilter( sys->filter ); sys->filter = NULL; } directx_va_Close(va, &sys->dx_sys); if (sys->hd3d9_dll) FreeLibrary(sys->hd3d9_dll); free((char *)va->description); free(sys); }
static void Close(vlc_va_t *va, AVCodecContext *ctx) { vlc_va_sys_t *sys = va->sys; (void) ctx; if (sys->filter) { DeleteFilter( sys->filter ); sys->filter = NULL; } directx_va_Close(va, &sys->dx_sys); #if !defined(NDEBUG) && defined(HAVE_DXGIDEBUG_H) if (sys->dxgidebug_dll) FreeLibrary(sys->dxgidebug_dll); #endif free((char *)va->description); free(sys); }