From 64f9e48bf1d67ed22f2488f7135a082a8ffbe716 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 29 Apr 2016 23:28:15 +0200 Subject: d3d11va, dxva2: return the format struct directly Slight simplification, IMHO. --- video/decode/d3d.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'video/decode/d3d.h') diff --git a/video/decode/d3d.h b/video/decode/d3d.h index 21b930528a..3f5b8aebe7 100644 --- a/video/decode/d3d.h +++ b/video/decode/d3d.h @@ -33,8 +33,7 @@ struct d3d_decoded_format { struct d3d_decoder_fmt { const GUID *guid; - int mpfmt_decoded; - DWORD dxfmt_decoded; // D3DFORMAT or DXGI_FORMAT + const struct d3d_decoded_format *format; }; int d3d_probe_codec(const char *codec); -- cgit v1.2.3