[vlc-commits] D3D11-deinterlace: fix initialisation for error case
Jean-Baptiste Kempf
git at videolan.org
Fri Apr 14 10:17:33 CEST 2017
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Apr 14 10:16:54 2017 +0200| [d67113d36ce6a0973b6842c5e095ea344ee8230b] | committer: Jean-Baptiste Kempf
D3D11-deinterlace: fix initialisation for error case
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d67113d36ce6a0973b6842c5e095ea344ee8230b
---
modules/video_output/win32/d3d11_deinterlace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_output/win32/d3d11_deinterlace.c b/modules/video_output/win32/d3d11_deinterlace.c
index 9b8089e586..54173d8300 100644
--- a/modules/video_output/win32/d3d11_deinterlace.c
+++ b/modules/video_output/win32/d3d11_deinterlace.c
@@ -132,6 +132,7 @@ static int Open(vlc_object_t *obj)
filter_t *filter = (filter_t *)obj;
HRESULT hr;
ID3D11Device *d3ddevice = NULL;
+ ID3D11VideoProcessorEnumerator *processorEnumerator = NULL;
if (filter->fmt_in.video.i_chroma != VLC_CODEC_D3D11_OPAQUE
&& filter->fmt_in.video.i_chroma != VLC_CODEC_D3D11_OPAQUE_10B)
@@ -174,7 +175,6 @@ static int Open(vlc_object_t *obj)
const video_format_t *fmt = &dst->format;
- ID3D11VideoProcessorEnumerator *processorEnumerator;
D3D11_VIDEO_PROCESSOR_CONTENT_DESC processorDesc = {
.InputFrameFormat = D3D11_VIDEO_FRAME_FORMAT_INTERLACED_TOP_FIELD_FIRST,
.InputFrameRate = {
More information about the vlc-commits
mailing list