[vlc-commits] dxva2: fix compilation warning

Steve Lhomme git at videolan.org
Wed Mar 15 19:17:29 CET 2017


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Wed Mar 15 09:12:36 2017 +0100| [a6b5de26f02596ceba57bc29393bf331b9a8972f] | committer: Jean-Baptiste Kempf

dxva2: fix compilation warning

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/codec/avcodec/dxva2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/avcodec/dxva2.c b/modules/codec/avcodec/dxva2.c
index d609ce0..7a9059b 100644
--- a/modules/codec/avcodec/dxva2.c
+++ b/modules/codec/avcodec/dxva2.c
@@ -322,7 +322,7 @@ static void Close(vlc_va_t *va, AVCodecContext *ctx)
     free(sys);
 }
 
-vlc_fourcc_t d3d9va_fourcc(enum PixelFormat swfmt)
+static vlc_fourcc_t d3d9va_fourcc(enum PixelFormat swfmt)
 {
     switch (swfmt)
     {



More information about the vlc-commits mailing list