^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavformat/dashenc.c: In function 'dash_write_packet':
libavformat/dashenc.c:2265:59: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
         snprintf(os->full_path, sizeof(os->full_path), '%s%s', c->dirname,
                                                           ^~
libavformat/dashenc.c:2265:9: note: 'snprintf' output between 1 and 2047 bytes into a destination of size 1024
         snprintf(os->full_path, sizeof(os->full_path), '%s%s', c->dirname,
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                  os->filename);
                  ~~~~~~~~~~~~~
In function 'new_rendition',
    inlined from 'parse_playlist' at libavformat/hls.c:827:13:
libavformat/hls.c:545:13: warning: 'strncpy' output may be truncated copying between 2 and 62 bytes from a string of length 63 [-Wstringop-truncation]
             strncpy(rend->language + langlen + 1, info->assoc_language,
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                     sizeof(rend->language) - langlen - 2);
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavformat/img2enc.c: In function 'write_packet':
libavformat/img2enc.c:181:55: warning: '.tmp' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
         snprintf(img->tmp[i], sizeof(img->tmp[i]), '%s.tmp', filename);
                                                       ^~~~
libavformat/img2enc.c:181:9: note: 'snprintf' output between 5 and 1028 bytes into a destination of size 1024
         snprintf(img->tmp[i], sizeof(img->tmp[i]), '%s.tmp', filename);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavformat/mlvdec.c: In function 'read_header':
libavformat/mlvdec.c:361:63: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=]
             snprintf(filename + strlen(filename) - 2, 3, '%02d', i);
                                                               ^
libavformat/mlvdec.c:361:13: note: 'snprintf' output between 3 and 4 bytes into a destination of size 3
             snprintf(filename + strlen(filename) - 2, 3, '%02d', i);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavformat/matroskaenc.c: In function 'mkv_write_trailer':
libavformat/matroskaenc.c:3182:58: warning: '%012.9f' directive output may be truncated writing between 12 and 320 bytes into a region of size between 8 and 14 [-Wformat-truncation=]
                 snprintf(duration_string, 20, '%02d:%02d:%012.9f',
                                                          ^~~~~~~
libavformat/matroskaenc.c:3182:17: note: 'snprintf' output between 19 and 333 bytes into a destination of size 20
                 snprintf(duration_string, 20, '%02d:%02d:%012.9f',
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          (int) duration_sec / 3600, ((int) duration_sec / 60) % 60,
                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          fmod(duration_sec, 60));
                          ~~~~~~~~~~~~~~~~~~~~~~~
libavformat/rtmpproto.c: In function 'send_invoke_response':
libavformat/rtmpproto.c:1967:51: warning: ' is now published' directive output may be truncated writing 17 bytes into a region of size between 1 and 128 [-Wformat-truncation=]
         snprintf(statusmsg, sizeof(statusmsg), '%s is now published', filename);
                                                   ^~~~~~~~~~~~~~~~~
libavformat/rtmpproto.c:1967:9: note: 'snprintf' output between 18 and 145 bytes into a destination of size 128
         snprintf(statusmsg, sizeof(statusmsg), '%s is now published', filename);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavformat/smoothstreamingenc.c: In function 'ism_flush':
libavformat/smoothstreamingenc.c:509:49: warning: '/temp' directive output may be truncated writing 5 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
         snprintf(filename, sizeof(filename), '%s/temp', os->dirname);
                                                 ^~~~~
libavformat/smoothstreamingenc.c:509:9: note: 'snprintf' output between 6 and 1029 bytes into a destination of size 1024
         snprintf(filename, sizeof(filename), '%s/temp', os->dirname);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavformat/smoothstreamingenc.c:537:53: warning: '/temp' directive output may be truncated writing 5 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
             snprintf(filename, sizeof(filename), '%s/temp', os->dirname);
                                                     ^~~~~
libavformat/smoothstreamingenc.c:537:13: note: 'snprintf' output between 6 and 1029 bytes into a destination of size 1024
             snprintf(filename, sizeof(filename), '%s/temp', os->dirname);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavformat/smoothstreamingenc.c:544:63: warning: '/FragmentInfo(' directive output may be truncated writing 14 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
         snprintf(header_filename, sizeof(header_filename), '%s/FragmentInfo(%s=%'PRIu64')', os->dirname, os->stream_type_tag, start_ts);
                                                               ^~~~~~~~~~~~~~
libavformat/smoothstreamingenc.c:544:9: note: 'snprintf' output 18 or more bytes (assuming 1041) into a destination of size 1024
         snprintf(header_filename, sizeof(header_filename), '%s/FragmentInfo(%s=%'PRIu64')', os->dirname, os->stream_type_tag, start_ts);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavformat/smoothstreamingenc.c:545:63: warning: '/Fragments(' directive output may be truncated writing 11 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
         snprintf(target_filename, sizeof(target_filename), '%s/Fragments(%s=%'PRIu64')', os->dirname, os->stream_type_tag, start_ts);
                                                               ^~~~~~~~~~~
libavformat/smoothstreamingenc.c:545:9: note: 'snprintf' output 15 or more bytes (assuming 1038) into a destination of size 1024
         snprintf(target_filename, sizeof(target_filename), '%s/Fragments(%s=%'PRIu64')', os->dirname, os->stream_type_tag, start_ts);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavformat/rtsp.c: In function 'ff_rtsp_make_setup_request':
libavformat/rtsp.c:1584:30: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=]
                  'Transport: %s\r\n',
                              ^~
                  transport);
                  ~~~~~~~~~    
libavformat/rtsp.c:1583:9: note: 'snprintf' output between 14 and 4109 bytes into a destination of size 4096
         snprintf(cmd, sizeof(cmd),
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
                  'Transport: %s\r\n',
                  ~~~~~~~~~~~~~~~~~~~~
                  transport);
                  ~~~~~~~~~~
libavformat/rtsp.c: In function 'ff_rtsp_connect':
libavformat/rtsp.c:1584:30: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=]
                  'Transport: %s\r\n',
                              ^~
                  transport);
                  ~~~~~~~~~    
libavformat/rtsp.c:1583:9: note: 'snprintf' output between 14 and 4109 bytes into a destination of size 4096
         snprintf(cmd, sizeof(cmd),
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
                  'Transport: %s\r\n',
                  ~~~~~~~~~~~~~~~~~~~~
                  transport);
                  ~~~~~~~~~~
libavformat/vorbiscomment.c: In function 'ff_vorbiscomment_write':
libavformat/vorbiscomment.c:103:63: warning: '%03d' directive output may be truncated writing between 3 and 10 bytes into a region of size 4 [-Wformat-truncation=]
             snprintf(chapter_number, sizeof(chapter_number), '%03d', i);
                                                               ^~~~
libavformat/vorbiscomment.c:103:62: note: directive argument in the range [0, 2147483647]
             snprintf(chapter_number, sizeof(chapter_number), '%03d', i);
                                                              ^~~~~~
libavformat/vorbiscomment.c:103:13: note: 'snprintf' output between 4 and 11 bytes into a destination of size 4
             snprintf(chapter_number, sizeof(chapter_number), '%03d', i);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavformat/vorbiscomment.c:104:69: warning: '%02d' directive output may be truncated writing between 2 and 3 bytes into a region of size between 1 and 7 [-Wformat-truncation=]
             snprintf(chapter_time, sizeof(chapter_time), '%02d:%02d:%02d.%03d', h, m, s, ms);
                                                                     ^~~~
libavformat/vorbiscomment.c:104:58: note: directive argument in the range [-59, 59]
             snprintf(chapter_time, sizeof(chapter_time), '%02d:%02d:%02d.%03d', h, m, s, ms);
                                                          ^~~~~~~~~~~~~~~~~~~~~
libavformat/vorbiscomment.c:104:58: note: directive argument in the range [-999, 999]
libavformat/vorbiscomment.c:104:13: note: 'snprintf' output between 13 and 21 bytes into a destination of size 13
             snprintf(chapter_time, sizeof(chapter_time), '%02d:%02d:%02d.%03d', h, m, s, ms);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavcodec/exif.c: In function 'ff_exif_decode_ifd':
libavcodec/exif.c:230:43: warning: '%04X' directive output may be truncated writing between 4 and 8 bytes into a region of size 5 [-Wformat-truncation=]
             snprintf(buf, sizeof(buf), '0x%04X', id);
                                           ^~~~
libavcodec/exif.c:230:40: note: directive argument in the range [1, 4294967295]
             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/msmpeg4enc.c: In function 'ff_msmpeg4_encode_ext_header':
libavcodec/msmpeg4enc.c:287:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
     else
     ^~~~
libavcodec/msmpeg4enc.c:288:1: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
 FF_DISABLE_DEPRECATION_WARNINGS
 ^~~
libavutil/timecode.c: In function 'av_timecode_make_string':
libavutil/timecode.c:123:60: warning: '%0*d' directive output may be truncated writing between 1 and 10 bytes into a region of size between 2 and 14 [-Wformat-truncation=]
     snprintf(buf, AV_TIMECODE_STR_SIZE, '%s%02d:%02d:%02d%c%0*d',
                                                            ^~~~
libavutil/timecode.c:123:41: note: directive argument in the range [0, 2147483647]
     snprintf(buf, AV_TIMECODE_STR_SIZE, '%s%02d:%02d:%02d%c%0*d',
                                         ^~~~~~~~~~~~~~~~~~~~~~~~
libavutil/timecode.c:123:5: note: 'snprintf' output between 11 and 32 bytes into a destination of size 23
     snprintf(buf, AV_TIMECODE_STR_SIZE, '%s%02d:%02d:%02d%c%0*d',
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              neg ? '-' : '',
              ~~~~~~~~~~~~~~~
              hh, mm, ss, drop ? ';' : ':', ff_len, ff);
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from fftools/ffmpeg_mux_init.c:24:
fftools/ffmpeg_mux_init.c: In function 'of_open':
fftools/ffmpeg.h:904:117: warning: array subscript 2 is above array bounds of 'const char * const[2]' [-Warray-bounds]
         av_strlcatf(namestr, sizeof(namestr), '-%s%s', opt_name_##name[_i], opt_name_##name[_i+1] ? (opt_name_##name[_i+2] ? ', ' : ' or ') : '');\
                                                                                                      ~~~~~~~~~~~~~~~^~~~~~
fftools/ffmpeg.h:923:8: note: in expansion of macro 'WARN_MULTIPLE_OPT_USAGE'
        WARN_MULTIPLE_OPT_USAGE(name, type, so, st);\
        ^~~~~~~~~~~~~~~~~~~~~~~
fftools/ffmpeg_mux_init.c:2241:9: note: in expansion of macro 'MATCH_PER_STREAM_OPT'
         MATCH_PER_STREAM_OPT(forced_key_frames, str, forced_keyframes, mux->fc, ost->st);
         ^~~~~~~~~~~~~~~~~~~~
fftools/ffmpeg.h:904:117: warning: array subscript 2 is above array bounds of 'const char * const[2]' [-Warray-bounds]
         av_strlcatf(namestr, sizeof(namestr), '-%s%s', opt_name_##name[_i], opt_name_##name[_i+1] ? (opt_name_##name[_i+2] ? ', ' : ' or ') : '');\
                                                                                                      ~~~~~~~~~~~~~~~^~~~~~
fftools/ffmpeg.h:923:8: note: in expansion of macro 'WARN_MULTIPLE_OPT_USAGE'
        WARN_MULTIPLE_OPT_USAGE(name, type, so, st);\
        ^~~~~~~~~~~~~~~~~~~~~~~
fftools/ffmpeg_mux_init.c:2119:9: note: in expansion of macro 'MATCH_PER_STREAM_OPT'
         MATCH_PER_STREAM_OPT(disposition, str, dispositions[i], ctx, ost->st);
         ^~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: libavdevice/libavdevice.a(alldevices.o): in function `av_input_audio_device_next':
alldevices.c:(.text+0x48): undefined reference to `ff_sdrfile_demuxer'
/usr/bin/ld: alldevices.c:(.text+0x4c): undefined reference to `ff_sdrfile_demuxer'
/usr/bin/ld: alldevices.c:(.text+0x4c): undefined reference to `ff_sdrfile_demuxer'
/usr/bin/ld: alldevices.c:(.text+0x308): undefined reference to `ff_sdrfile_demuxer'
/usr/bin/ld: alldevices.c:(.text+0x30c): undefined reference to `ff_sdrfile_demuxer'
/usr/bin/ld: libavdevice/libavdevice.a(alldevices.o):alldevices.c:(.text+0x30c): more undefined references to `ff_sdrfile_demuxer' follow
collect2: error: ld returned 1 exit status
make: *** [Makefile:133: ffprobe_g] Error 1
make: *** Waiting for unfinished jobs....
/usr/bin/ld: libavdevice/libavdevice.a(alldevices.o): in function `av_input_audio_device_next':
alldevices.c:(.text+0x48): undefined reference to `ff_sdrfile_demuxer'
/usr/bin/ld: alldevices.c:(.text+0x4c): undefined reference to `ff_sdrfile_demuxer'
/usr/bin/ld: alldevices.c:(.text+0x4c): undefined reference to `ff_sdrfile_demuxer'
/usr/bin/ld: alldevices.c:(.text+0x308): undefined reference to `ff_sdrfile_demuxer'
/usr/bin/ld: alldevices.c:(.text+0x30c): undefined reference to `ff_sdrfile_demuxer'
/usr/bin/ld: libavdevice/libavdevice.a(alldevices.o):alldevices.c:(.text+0x30c): more undefined references to `ff_sdrfile_demuxer' follow
collect2: error: ld returned 1 exit status
make: *** [Makefile:133: ffplay_g] Error 1
/usr/bin/ld: libavdevice/libavdevice.a(alldevices.o): in function `av_input_audio_device_next':
alldevices.c:(.text+0x48): undefined reference to `ff_sdrfile_demuxer'
/usr/bin/ld: alldevices.c:(.text+0x4c): undefined reference to `ff_sdrfile_demuxer'
/usr/bin/ld: alldevices.c:(.text+0x4c): undefined reference to `ff_sdrfile_demuxer'
/usr/bin/ld: alldevices.c:(.text+0x308): undefined reference to `ff_sdrfile_demuxer'
/usr/bin/ld: alldevices.c:(.text+0x30c): undefined reference to `ff_sdrfile_demuxer'
/usr/bin/ld: libavdevice/libavdevice.a(alldevices.o):alldevices.c:(.text+0x30c): more undefined references to `ff_sdrfile_demuxer' follow
collect2: error: ld returned 1 exit status
make: *** [Makefile:133: ffmpeg_g] Error 1