[vlc-commits] dxva2: compilation fix
Rémi Denis-Courmont
git at videolan.org
Fri Oct 12 22:01:32 CEST 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Oct 12 22:36:49 2012 +0300| [900ada65da18c2730dbb877da7aa2a8a177b736d] | committer: Rémi Denis-Courmont
dxva2: compilation fix
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=900ada65da18c2730dbb877da7aa2a8a177b736d
---
modules/codec/avcodec/dxva2.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/codec/avcodec/dxva2.c b/modules/codec/avcodec/dxva2.c
index 26c7fb1..721609d 100644
--- a/modules/codec/avcodec/dxva2.c
+++ b/modules/codec/avcodec/dxva2.c
@@ -501,7 +501,7 @@ static void Close(vlc_va_t *external)
free(va);
}
-static int Open(vlc_va_t *log, int pixfmt, int codec_id,
+static int Open(vlc_va_t *external, int pixfmt, int codec_id,
const es_format_t *fmt)
{
if( pixfmt != PIX_FMT_DXVA2_VLD )
@@ -559,7 +559,6 @@ static int Open(vlc_va_t *log, int pixfmt, int codec_id,
external->get = Get;
external->release = Release;
external->extract = Extract;
- external->close = Close;
return VLC_SUCCESS;
error:
More information about the vlc-commits
mailing list