[vlc-commits] vaapi: fix duplicate const qualifier

Rémi Denis-Courmont git at videolan.org
Wed Jun 28 22:50:48 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jun 28 23:04:04 2017 +0300| [035064d3b5b8cf9e811338fcf5e6e65749e14ae2] | committer: Rémi Denis-Courmont

vaapi: fix duplicate const qualifier

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

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

diff --git a/modules/codec/avcodec/vaapi.c b/modules/codec/avcodec/vaapi.c
index 2a0f1f58ce..4f46802400 100644
--- a/modules/codec/avcodec/vaapi.c
+++ b/modules/codec/avcodec/vaapi.c
@@ -312,7 +312,7 @@ static int Create(vlc_va_t *va, AVCodecContext *ctx, enum PixelFormat pix_fmt,
     sys->hw_ctx.display = vaGetDisplay(sys->p_display_x11);
 #endif
 #ifdef VLC_VA_BACKEND_DRM
-    static const char const *drm_device_paths[] = {
+    static const char drm_device_paths[][20] = {
         "/dev/dri/renderD128",
         "/dev/dri/card0"
     };



More information about the vlc-commits mailing list