Snippets for ffmpeg 8.1.2 from Alpine armhf
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-armhf/community/ffmpeg/ffmpeg-8.1.2-r0.log.
-
libavutil/hwcontext_vulkan.c:746:23: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 746 | for (int i = 0; i < FF_ARRAY_ELEMS(optional_instance_exts) - 1; i++) | ^ -
libavcodec/bsf/extract_extradata.c:374:55: warning: passing argument 2 of 'bytestream2_init_writer' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 374 | bytestream2_init_writer(&pb_extradata, nal->data, 0); | ~~~^~~~~~ -
libavcodec/ffv1enc_vulkan.c:1107:39: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'VkDeviceSize' {aka 'long long unsigned int'} [-Wformat=] 1107 | av_log(avctx, AV_LOG_WARNING, "Encoding buffer size (%zu) larger " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1108 | "than maximum device allocation (%zu), clipping\n", 1109 | maxsize, fv->s.props_11.maxMemoryAllocationSize); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | VkDeviceSize {aka long long unsigned int} -
libavcodec/wmadec.c:524:30: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 524 | s->channel_coded[ch] = a; | ^ -
libavcodec/ass.c:139:17: warning: argument 2 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 139 | rects = av_realloc_array(rects, new_nb, sizeof(*sub->rects)); | ^ -
/usr/include/fortify/string.h:70:16: warning: '__orig_memmove' writing 24 bytes into a region of size 4 overflows the destination [-Wstringop-overflow=] 70 | return __orig_memmove(__d, __s, __n); | ^