[vlc-devel] commit: vlc_va_NewDxva2() : unused parameters ( Rafaël Carré )

git version control git at videolan.org
Fri Nov 27 14:14:03 CET 2009


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Fri Nov 27 14:13:49 2009 +0100| [ab994815cdd68a313e167289d3514b3303aadeaf] | committer: Rafaël Carré 

vlc_va_NewDxva2() : unused parameters

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ab994815cdd68a313e167289d3514b3303aadeaf
---

 modules/codec/avcodec/dxva2.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/codec/avcodec/dxva2.c b/modules/codec/avcodec/dxva2.c
index 4f1a357..7d3391a 100644
--- a/modules/codec/avcodec/dxva2.c
+++ b/modules/codec/avcodec/dxva2.c
@@ -1236,6 +1236,8 @@ static void CopyFromYv12(picture_t *dst, const D3DLOCKED_RECT *src,
 #else
 vlc_va_t *vlc_va_NewDxva2(vlc_object_t *log, int codec_id)
 {
+    (void)log;
+    (void)codec_id;
     return NULL;
 }
 #endif




More information about the vlc-devel mailing list