[3.0] direct3d11: fix potential double free
When the pool size doesn't match the input size, the p_sys->resource may change.
We just want to release the ID3D11Resource we got from OpenSharedResource1().
Issue consecutive to 833b0255.
When the pool size doesn't match the input size, the p_sys->resource may change.
We just want to release the ID3D11Resource we got from OpenSharedResource1().
Issue consecutive to 833b0255.
VideoLAN code repository instance