snprintf(buf, sizeof(buf), '0x%04X', id); ^~~~~~~~ libavcodec/exif.c:230:13: note: 'snprintf' output between 7 and 11 bytes into a destination of size 7 snprintf(buf, sizeof(buf), '0x%04X', id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/pcm.c: In function 'pcm_decode_init': libavcodec/pcm.c:287:5: warning: 'sample_fmts' is deprecated [-Wdeprecated-declarations] avctx->sample_fmt = avctx->codec->sample_fmts[0]; ^~~~~ In file included from libavcodec/avcodec.h:41, from libavcodec/pcm.c:34: libavcodec/codec.h:219:32: note: declared here const enum AVSampleFormat *sample_fmts; ///< @deprecated use avcodec_get_supported_config() ^~~~~~~~~~~ libavcodec/sbcenc.c: In function 'sbc_encode_init': libavcodec/sbcenc.c:263:5: warning: 'supported_samplerates' is deprecated [-Wdeprecated-declarations] for (int i = 0; avctx->codec->supported_samplerates[i]; i++) ^~~ In file included from libavcodec/avcodec.h:41, from libavcodec/sbcenc.c:36: libavcodec/codec.h:217:16: note: declared here const int *supported_samplerates; ///< @deprecated use avcodec_get_supported_config() ^~~~~~~~~~~~~~~~~~~~~ libavcodec/sbcenc.c:264:9: warning: 'supported_samplerates' is deprecated [-Wdeprecated-declarations] if (avctx->sample_rate == avctx->codec->supported_samplerates[i]) ^~ In file included from libavcodec/avcodec.h:41, from libavcodec/sbcenc.c:36: libavcodec/codec.h:217:16: note: declared here const int *supported_samplerates; ///< @deprecated use avcodec_get_supported_config() ^~~~~~~~~~~~~~~~~~~~~ libavcodec/sga.c: In function 'decode_palmapdata': libavcodec/sga.c:257:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^~~ libavcodec/sga.c: In function 'decode_tiledata': libavcodec/sga.c:282:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret; ^~~ libswscale/loongarch/swscale_init_loongarch.c: In function 'ff_yuv2rgb_init_loongarch': libswscale/loongarch/swscale_init_loongarch.c:118:28: warning: returning 'int (*)(SwsContext *, const uint8_t **, int *, int, int, uint8_t **, int *)' {aka 'int (*)(struct SwsContext *, const unsigned char **, int *, int, int, unsigned char **, int *)'} from a function with incompatible return type 'SwsFunc' {aka 'int (*)(struct SwsContext *, const unsigned char * const*, const int *, int, int, unsigned char * const*, const int *)'} [-Wincompatible-pointer-types] return yuv420_rgb24_lasx; ^~~~~~~~~~~~~~~~~ libswscale/loongarch/swscale_init_loongarch.c:120:28: warning: returning 'int (*)(SwsContext *, const uint8_t **, int *, int, int, uint8_t **, int *)' {aka 'int (*)(struct SwsContext *, const unsigned char **, int *, int, int, unsigned char **, int *)'} from a function with incompatible return type 'SwsFunc' {aka 'int (*)(struct SwsContext *, const unsigned char * const*, const int *, int, int, unsigned char * const*, const int *)'} [-Wincompatible-pointer-types] return yuv420_bgr24_lasx; ^~~~~~~~~~~~~~~~~ libswscale/loongarch/swscale_init_loongarch.c:125:32: warning: returning 'int (*)(SwsContext *, const uint8_t **, int *, int, int, uint8_t **, int *)' {aka 'int (*)(struct SwsContext *, const unsigned char **, int *, int, int, unsigned char **, int *)'} from a function with incompatible return type 'SwsFunc' {aka 'int (*)(struct SwsContext *, const unsigned char * const*, const int *, int, int, unsigned char * const*, const int *)'} [-Wincompatible-pointer-types] return yuv420_rgba32_lasx; ^~~~~~~~~~~~~~~~~~ libswscale/loongarch/swscale_init_loongarch.c:130:32: warning: returning 'int (*)(SwsContext *, const uint8_t **, int *, int, int, uint8_t **, int *)' {aka 'int (*)(struct SwsContext *, const unsigned char **, int *, int, int, unsigned char **, int *)'} from a function with incompatible return type 'SwsFunc' {aka 'int (*)(struct SwsContext *, const unsigned char * const*, const int *, int, int, unsigned char * const*, const int *)'} [-Wincompatible-pointer-types] return yuv420_argb32_lasx; ^~~~~~~~~~~~~~~~~~ libswscale/loongarch/swscale_init_loongarch.c:135:32: warning: returning 'int (*)(SwsContext *, const uint8_t **, int *, int, int, uint8_t **, int *)' {aka 'int (*)(struct SwsContext *, const unsigned char **, int *, int, int, unsigned char **, int *)'} from a function with incompatible return type 'SwsFunc' {aka 'int (*)(struct SwsContext *, const unsigned char * const*, const int *, int, int, unsigned char * const*, const int *)'} [-Wincompatible-pointer-types] return yuv420_bgra32_lasx; ^~~~~~~~~~~~~~~~~~ libswscale/loongarch/swscale_init_loongarch.c:140:32: warning: returning 'int (*)(SwsContext *, const uint8_t **, int *, int, int, uint8_t **, int *)' {aka 'int (*)(struct SwsContext *, const unsigned char **, int *, int, int, unsigned char **, int *)'} from a function with incompatible return type 'SwsFunc' {aka 'int (*)(struct SwsContext *, const unsigned char * const*, const int *, int, int, unsigned char * const*, const int *)'} [-Wincompatible-pointer-types] return yuv420_abgr32_lasx; ^~~~~~~~~~~~~~~~~~ libswscale/loongarch/swscale_init_loongarch.c:149:28: warning: returning 'int (*)(SwsContext *, const uint8_t **, int *, int, int, uint8_t **, int *)' {aka 'int (*)(struct SwsContext *, const unsigned char **, int *, int, int, unsigned char **, int *)'} from a function with incompatible return type 'SwsFunc' {aka 'int (*)(struct SwsContext *, const unsigned char * const*, const int *, int, int, unsigned char * const*, const int *)'} [-Wincompatible-pointer-types] return yuv420_rgb24_lsx; ^~~~~~~~~~~~~~~~ libswscale/loongarch/swscale_init_loongarch.c:151:28: warning: returning 'int (*)(SwsContext *, const uint8_t **, int *, int, int, uint8_t **, int *)' {aka 'int (*)(struct SwsContext *, const unsigned char **, int *, int, int, unsigned char **, int *)'} from a function with incompatible return type 'SwsFunc' {aka 'int (*)(struct SwsContext *, const unsigned char * const*, const int *, int, int, unsigned char * const*, const int *)'} [-Wincompatible-pointer-types] return yuv420_bgr24_lsx; ^~~~~~~~~~~~~~~~ libswscale/loongarch/swscale_init_loongarch.c:156:32: warning: returning 'int (*)(SwsContext *, const uint8_t **, int *, int, int, uint8_t **, int *)' {aka 'int (*)(struct SwsContext *, const unsigned char **, int *, int, int, unsigned char **, int *)'} from a function with incompatible return type 'SwsFunc' {aka 'int (*)(struct SwsContext *, const unsigned char * const*, const int *, int, int, unsigned char * const*, const int *)'} [-Wincompatible-pointer-types] return yuv420_rgba32_lsx; ^~~~~~~~~~~~~~~~~ libswscale/loongarch/swscale_init_loongarch.c:161:32: warning: returning 'int (*)(SwsContext *, const uint8_t **, int *, int, int, uint8_t **, int *)' {aka 'int (*)(struct SwsContext *, const unsigned char **, int *, int, int, unsigned char **, int *)'} from a function with incompatible return type 'SwsFunc' {aka 'int (*)(struct SwsContext *, const unsigned char * const*, const int *, int, int, unsigned char * const*, const int *)'} [-Wincompatible-pointer-types] return yuv420_argb32_lsx; ^~~~~~~~~~~~~~~~~ libswscale/loongarch/swscale_init_loongarch.c:166:32: warning: returning 'int (*)(SwsContext *, const uint8_t **, int *, int, int, uint8_t **, int *)' {aka 'int (*)(struct SwsContext *, const unsigned char **, int *, int, int, unsigned char **, int *)'} from a function with incompatible return type 'SwsFunc' {aka 'int (*)(struct SwsContext *, const unsigned char * const*, const int *, int, int, unsigned char * const*, const int *)'} [-Wincompatible-pointer-types] return yuv420_bgra32_lsx; ^~~~~~~~~~~~~~~~~ libswscale/loongarch/swscale_init_loongarch.c:171:32: warning: returning 'int (*)(SwsContext *, const uint8_t **, int *, int, int, uint8_t **, int *)' {aka 'int (*)(struct SwsContext *, const unsigned char **, int *, int, int, unsigned char **, int *)'} from a function with incompatible return type 'SwsFunc' {aka 'int (*)(struct SwsContext *, const unsigned char * const*, const int *, int, int, unsigned char * const*, const int *)'} [-Wincompatible-pointer-types] return yuv420_abgr32_lsx; ^~~~~~~~~~~~~~~~~ libswscale/loongarch/yuv2rgb_lasx.c:245:13: error: conflicting types for 'yuv420_rgb24_lasx' YUV2RGBFUNC(yuv420_rgb24_lasx, uint8_t, 0) ^~~~~~~~~~~~~~~~~ libswscale/loongarch/yuv2rgb_lasx.c:163:16: note: in definition of macro 'YUV2RGBFUNC' int func_name(SwsContext *c, const uint8_t *const src[], ^~~~~~~~~ In file included from libswscale/loongarch/yuv2rgb_lasx.c:22: libswscale/loongarch/swscale_loongarch.h:149:5: note: previous declaration of 'yuv420_rgb24_lasx' was here int yuv420_rgb24_lasx(SwsContext *c, const uint8_t *src[], int srcStride[], ^~~~~~~~~~~~~~~~~ libswscale/loongarch/yuv2rgb_lasx.c:258:13: error: conflicting types for 'yuv420_bgr24_lasx' YUV2RGBFUNC(yuv420_bgr24_lasx, uint8_t, 0) ^~~~~~~~~~~~~~~~~ libswscale/loongarch/yuv2rgb_lasx.c:163:16: note: in definition of macro 'YUV2RGBFUNC' int func_name(SwsContext *c, const uint8_t *const src[], ^~~~~~~~~ In file included from libswscale/loongarch/yuv2rgb_lasx.c:22: libswscale/loongarch/swscale_loongarch.h:152:5: note: previous declaration of 'yuv420_bgr24_lasx' was here int yuv420_bgr24_lasx(SwsContext *c, const uint8_t *src[], int srcStride[], ^~~~~~~~~~~~~~~~~ libswscale/loongarch/yuv2rgb_lasx.c:271:15: error: conflicting types for 'yuv420_rgba32_lasx' YUV2RGBFUNC32(yuv420_rgba32_lasx, uint32_t, 0) ^~~~~~~~~~~~~~~~~~ libswscale/loongarch/yuv2rgb_lasx.c:191:16: note: in definition of macro 'YUV2RGBFUNC32' int func_name(SwsContext *c, const uint8_t *const src[], ^~~~~~~~~ In file included from libswscale/loongarch/yuv2rgb_lasx.c:22: libswscale/loongarch/swscale_loongarch.h:155:5: note: previous declaration of 'yuv420_rgba32_lasx' was here int yuv420_rgba32_lasx(SwsContext *c, const uint8_t *src[], int srcStride[], ^~~~~~~~~~~~~~~~~~ libswscale/loongarch/yuv2rgb_lasx.c:284:15: error: conflicting types for 'yuv420_bgra32_lasx' YUV2RGBFUNC32(yuv420_bgra32_lasx, uint32_t, 0) ^~~~~~~~~~~~~~~~~~ libswscale/loongarch/yuv2rgb_lasx.c:191:16: note: in definition of macro 'YUV2RGBFUNC32' int func_name(SwsContext *c, const uint8_t *const src[], ^~~~~~~~~ In file included from libswscale/loongarch/yuv2rgb_lasx.c:22: libswscale/loongarch/swscale_loongarch.h:158:5: note: previous declaration of 'yuv420_bgra32_lasx' was here int yuv420_bgra32_lasx(SwsContext *c, const uint8_t *src[], int srcStride[], ^~~~~~~~~~~~~~~~~~ libswscale/loongarch/yuv2rgb_lasx.c:297:15: error: conflicting types for 'yuv420_argb32_lasx' YUV2RGBFUNC32(yuv420_argb32_lasx, uint32_t, 0) ^~~~~~~~~~~~~~~~~~ libswscale/loongarch/yuv2rgb_lasx.c:191:16: note: in definition of macro 'YUV2RGBFUNC32' int func_name(SwsContext *c, const uint8_t *const src[], ^~~~~~~~~ In file included from libswscale/loongarch/yuv2rgb_lasx.c:22: libswscale/loongarch/swscale_loongarch.h:161:5: note: previous declaration of 'yuv420_argb32_lasx' was here int yuv420_argb32_lasx(SwsContext *c, const uint8_t *src[], int srcStride[], ^~~~~~~~~~~~~~~~~~ libswscale/loongarch/yuv2rgb_lasx.c:310:15: error: conflicting types for 'yuv420_abgr32_lasx' YUV2RGBFUNC32(yuv420_abgr32_lasx, uint32_t, 0) ^~~~~~~~~~~~~~~~~~ libswscale/loongarch/yuv2rgb_lasx.c:191:16: note: in definition of macro 'YUV2RGBFUNC32' int func_name(SwsContext *c, const uint8_t *const src[], ^~~~~~~~~ In file included from libswscale/loongarch/yuv2rgb_lasx.c:22: libswscale/loongarch/swscale_loongarch.h:164:5: note: previous declaration of 'yuv420_abgr32_lasx' was here int yuv420_abgr32_lasx(SwsContext *c, const uint8_t *src[], int srcStride[], ^~~~~~~~~~~~~~~~~~ make: *** [ffbuild/common.mak:78: libswscale/loongarch/yuv2rgb_lasx.o] Error 1 make: *** Waiting for unfinished jobs.... libswscale/loongarch/yuv2rgb_lsx.c:255:13: error: conflicting types for 'yuv420_rgb24_lsx' YUV2RGBFUNC(yuv420_rgb24_lsx, uint8_t, 0) ^~~~~~~~~~~~~~~~ libswscale/loongarch/yuv2rgb_lsx.c:116:16: note: in definition of macro 'YUV2RGBFUNC' int func_name(SwsContext *c, const uint8_t *const src[], ^~~~~~~~~ In file included from libswscale/loongarch/yuv2rgb_lsx.c:23: libswscale/loongarch/swscale_loongarch.h:103:5: note: previous declaration of 'yuv420_rgb24_lsx' was here int yuv420_rgb24_lsx(SwsContext *c, const uint8_t *src[], int srcStride[], ^~~~~~~~~~~~~~~~ libswscale/loongarch/yuv2rgb_lsx.c:273:13: error: conflicting types for 'yuv420_bgr24_lsx' YUV2RGBFUNC(yuv420_bgr24_lsx, uint8_t, 0) ^~~~~~~~~~~~~~~~ libswscale/loongarch/yuv2rgb_lsx.c:116:16: note: in definition of macro 'YUV2RGBFUNC' int func_name(SwsContext *c, const uint8_t *const src[], ^~~~~~~~~ In file included from libswscale/loongarch/yuv2rgb_lsx.c:23: libswscale/loongarch/swscale_loongarch.h:106:5: note: previous declaration of 'yuv420_bgr24_lsx' was here int yuv420_bgr24_lsx(SwsContext *c, const uint8_t *src[], int srcStride[], ^~~~~~~~~~~~~~~~ libswscale/loongarch/yuv2rgb_lsx.c:291:15: error: conflicting types for 'yuv420_rgba32_lsx' YUV2RGBFUNC32(yuv420_rgba32_lsx, uint32_t, 0) ^~~~~~~~~~~~~~~~~ libswscale/loongarch/yuv2rgb_lsx.c:145:16: note: in definition of macro 'YUV2RGBFUNC32' int func_name(SwsContext *c, const uint8_t *const src[], ^~~~~~~~~ In file included from libswscale/loongarch/yuv2rgb_lsx.c:23: libswscale/loongarch/swscale_loongarch.h:109:5: note: previous declaration of 'yuv420_rgba32_lsx' was here int yuv420_rgba32_lsx(SwsContext *c, const uint8_t *src[], int srcStride[], ^~~~~~~~~~~~~~~~~ libswscale/loongarch/yuv2rgb_lsx.c:309:15: error: conflicting types for 'yuv420_bgra32_lsx' YUV2RGBFUNC32(yuv420_bgra32_lsx, uint32_t, 0) ^~~~~~~~~~~~~~~~~ libswscale/loongarch/yuv2rgb_lsx.c:145:16: note: in definition of macro 'YUV2RGBFUNC32' int func_name(SwsContext *c, const uint8_t *const src[], ^~~~~~~~~ In file included from libswscale/loongarch/yuv2rgb_lsx.c:23: libswscale/loongarch/swscale_loongarch.h:112:5: note: previous declaration of 'yuv420_bgra32_lsx' was here int yuv420_bgra32_lsx(SwsContext *c, const uint8_t *src[], int srcStride[], ^~~~~~~~~~~~~~~~~ libswscale/loongarch/yuv2rgb_lsx.c:327:15: error: conflicting types for 'yuv420_argb32_lsx' YUV2RGBFUNC32(yuv420_argb32_lsx, uint32_t, 0) ^~~~~~~~~~~~~~~~~ libswscale/loongarch/yuv2rgb_lsx.c:145:16: note: in definition of macro 'YUV2RGBFUNC32' int func_name(SwsContext *c, const uint8_t *const src[], ^~~~~~~~~ In file included from libswscale/loongarch/yuv2rgb_lsx.c:23: libswscale/loongarch/swscale_loongarch.h:115:5: note: previous declaration of 'yuv420_argb32_lsx' was here int yuv420_argb32_lsx(SwsContext *c, const uint8_t *src[], int srcStride[], ^~~~~~~~~~~~~~~~~ libswscale/loongarch/yuv2rgb_lsx.c:345:15: error: conflicting types for 'yuv420_abgr32_lsx' YUV2RGBFUNC32(yuv420_abgr32_lsx, uint32_t, 0) ^~~~~~~~~~~~~~~~~ libswscale/loongarch/yuv2rgb_lsx.c:145:16: note: in definition of macro 'YUV2RGBFUNC32' int func_name(SwsContext *c, const uint8_t *const src[], ^~~~~~~~~ In file included from libswscale/loongarch/yuv2rgb_lsx.c:23: libswscale/loongarch/swscale_loongarch.h:118:5: note: previous declaration of 'yuv420_abgr32_lsx' was here int yuv420_abgr32_lsx(SwsContext *c, const uint8_t *src[], int srcStride[], ^~~~~~~~~~~~~~~~~ make: *** [ffbuild/common.mak:75: libswscale/loongarch/yuv2rgb_lsx.o] Error 1