gstavcodecmap.c fails to compile with [-Werror=sign-compare]
Some compile time errors being generated here. My GCC is 12.2 (cross compile to ARM 32-bit).
gstavcodecmap.c: In function ‘gst_ffmpeg_channel_positions_to_layout’:
gstavcodecmap.c:83:19: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘long unsigned int’ [-Werror=sign-compare]
83 | for (j = 0; j < G_N_ELEMENTS (_ff_to_gst_layout); j++) {
| ^
gstavcodecmap.c: In function ‘gst_ffmpeg_channel_layout_to_gst’:
gstavcodecmap.c:125:19: error: comparison of integer expressions of different signedness: ‘guint’ {aka ‘unsigned int’} and ‘gint’ {aka ‘int’} [-Werror=sign-compare]
125 | if (nchannels != channels) {
| ^~
gstavcodecmap.c: In function ‘gst_ffmpeg_videoinfo_to_context’:
gstavcodecmap.c:2954:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’} [-Werror=sign-compare]
2954 | for (i = 0; i < GST_VIDEO_INFO_N_COMPONENTS (info); i++)
| ^