[vlc-devel] [PATCH] dxva2: fix compilation warning

Steve Lhomme robux4 at videolabs.io
Wed Mar 15 09:12:36 CET 2017


---
 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 e4c32e9bae..4677f96cb7 100644
--- a/modules/codec/avcodec/dxva2.c
+++ b/modules/codec/avcodec/dxva2.c
@@ -325,7 +325,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)
     {
-- 
2.11.1



More information about the vlc-devel mailing list