You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
video_v4l2.c: In function‘v4l2_device_init’:
video_v4l2.c:1313:38: error: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
1313 |if (!(vid_source = calloc(sizeof(src_v4l2_t), 1))) {
| ^~~~~~~~~~
video_v4l2.c:1313:38: note: earlier argument should specify number of elements, later size of each element
video_v4l2.c: In function‘v4l2_palette_valid’:
video_v4l2.c:1848:36: error: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
1848 | vid_source = calloc(sizeof(src_v4l2_t), 1);| ^~~~~~~~~~
video_v4l2.c:1848:36: note: earlier argument should specify number of elements, later size of each element
video_v4l2.c: In function‘v4l2_parms_valid’:
video_v4l2.c:1937:36: error: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
1937 | vid_source = calloc(sizeof(src_v4l2_t), 1);| ^~~~~~~~~~
video_v4l2.c:1937:36: note: earlier argument should specify number of elements, later size of each element
The text was updated successfully, but these errors were encountered:
Did you read the guide?
Yes
What is the base version number of Motion being used?
4.7.x
What was the install method?
Built from source code
What is base architecture?
x86
What is the distro being used?
Ubuntu
Disto version number
24.10
Camera type(s) being used?
v4l2 USB camera, Network camera with RTSP
Describe the issue/problem and steps to reproduce
configured with --developer-flags i get
video_v4l2.c:1313:38: error: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument
video_v4l2.c.PATCH
Motion log output at log_level 8
The text was updated successfully, but these errors were encountered: