[FFmpeg-trac] #11570(avdevice:new): v4l2 1.30 breaks build of 7.1.1

FFmpeg trac at avcodec.org
Thu May 15 05:29:38 EEST 2025


#11570: v4l2 1.30 breaks build of 7.1.1
-------------------------------------+------------------------------------
             Reporter:  bbhtt        |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avdevice
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------
Comment (by bbhtt):

 The posix ioctl check
 https://github.com/FFmpeg/FFmpeg/commit/00b64fca55a3a009c9d0e391c85f4fd3291e5d12
 seems broken to me. On systems that do support it, the code will cause an
 error due to conflicting types causing it to report "posix ioctl not
 supported"

 ```
 4:9: error: conflicting types for ‘ioctl’; have ‘int(int,  int, ...)’
     4 |     int ioctl(int, int, ...);
       |         ^~~~~
 In file included from test.c:1:
 /usr/include/sys/ioctl.h:42:12: note: previous declaration of ‘ioctl’ with
 type ‘int(int,  long unsigned int, ...)’
    42 | extern int ioctl (int __fd, unsigned long int __request, ...)
 __THROW;
       |            ^~~~~
 ```
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11570#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list