| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/multimedia/libva-vdpau-driver/files/ |
Upload File : |
In file included from vdpau_video.c:22:
./vdpau_video.h:277:12: warning: declaration of 'struct v4l2_format' will not be visible outside of this function
[-Wvisibility]
struct v4l2_format *v4l2_fmt,
^
./vdpau_video.h:278:12: warning: declaration of 'struct v4l2_buffer' will not be visible outside of this function
[-Wvisibility]
struct v4l2_buffer *v4l2_buf,
^
vdpau_video.c:930:12: warning: declaration of 'struct v4l2_format' will not be visible outside of this function
[-Wvisibility]
struct v4l2_format *v4l2_fmt,
^
vdpau_video.c:931:12: warning: declaration of 'struct v4l2_buffer' will not be visible outside of this function
[-Wvisibility]
struct v4l2_buffer *v4l2_buf,
^
vdpau_video.c:927:1: error: conflicting types for 'vdpau_CreateSurfaceFromV4L2Buf'
vdpau_CreateSurfaceFromV4L2Buf(
^
./vdpau_video.h:274:1: note: previous declaration is here
vdpau_CreateSurfaceFromV4L2Buf(
^
4 warnings and 1 error generated.
--- src/vdpau_video.h.orig 2012-10-05 15:02:58 UTC
+++ src/vdpau_video.h
@@ -21,6 +21,8 @@
#ifndef VDPAU_VIDEO_H
#define VDPAU_VIDEO_H
+#include <linux/videodev2.h>
+
#include "vdpau_driver.h"
#include "vdpau_decode.h"