[FFmpeg-trac] #11570(avdevice:new): v4l2 1.30 breaks build of 7.1.1
FFmpeg
trac at avcodec.org
Fri May 2 05:32:14 EEST 2025
#11570: v4l2 1.30 breaks build of 7.1.1
----------------------------------+---------------------------------------
Reporter: bbhtt | Type: defect
Status: new | Priority: normal
Component: avdevice | Version: unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+---------------------------------------
Summary of the bug:
7.1.1 build is broken with v4l2 1.30
{{{
libavdevice/v4l2.c: In function ‘device_open’:
libavdevice/v4l2.c:141:17: error: assignment to ‘int (*)(int, long
unsigned int, ...)’ from incompatible pointer type ‘int (*)(int, int,
...)’ [-Wincompatible-pointer-types]
141 | s->ioctl_f = prefix ## ioctl; \
| ^
libavdevice/v4l2.c:149:9: note: in expansion of macro ‘SET_WRAPPERS’
149 | SET_WRAPPERS(v4l2_);
| ^~~~~~~~~~~~
In file included from libavdevice/v4l2.c:52:
/usr/include/libv4l2.h:67:19: note: ‘v4l2_ioctl’ declared here
67 | LIBV4L_PUBLIC int v4l2_ioctl(int fd, int request, ...);
| ^~~~~~~~~~
}}}
See the attached file for the full build log.
How to reproduce: Build with v4l2 1.30
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11570>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list