libavformat/dashenc.c: In function 'dash_init':
libavformat/dashenc.c:1579:65: warning: '-stream' directive output may be truncated writing 7 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
                 snprintf(os->initfile, sizeof(os->initfile), '%s-stream%d.%s', basename, i, os->format_name);
                                                                 ^~~~~~~
libavformat/dashenc.c:1579:62: note: directive argument in the range [0, 2147483647]
                 snprintf(os->initfile, sizeof(os->initfile), '%s-stream%d.%s', basename, i, os->format_name);
                                                              ^~~~~~~~~~~~~~~~
libavformat/dashenc.c:1579:17: note: 'snprintf' output 10 or more bytes (assuming 1042) into a destination of size 1024
                 snprintf(os->initfile, sizeof(os->initfile), '%s-stream%d.%s', basename, i, os->format_name);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavformat/dashenc.c:1583:49: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
         snprintf(filename, sizeof(filename), '%s%s', c->dirname, os->initfile);
                                                 ^~
libavformat/dashenc.c:1583:9: note: 'snprintf' output between 1 and 2047 bytes into a destination of size 1024
         snprintf(filename, sizeof(filename), '%s%s', c->dirname, os->initfile);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavformat/dashenc.c: In function 'flush_init_segment':
libavformat/dashenc.c:597:49: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
         snprintf(filename, sizeof(filename), '%s%s', c->dirname, os->initfile);
                                                 ^~
libavformat/dashenc.c:597:9: note: 'snprintf' output between 1 and 2047 bytes into a destination of size 1024
         snprintf(filename, sizeof(filename), '%s%s', c->dirname, os->initfile);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavformat/dashenc.c: In function 'write_hls_media_playlist':
libavformat/dashenc.c:491:49: warning: 'media_' directive output may be truncated writing 6 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
         snprintf(playlist_name, string_size, '%smedia_%d.m3u8', base_url, id);
                                                 ^~~~~~
libavformat/dashenc.c:491:9: note: 'snprintf' output between 13 and 1046 bytes into a destination of size 1024
         snprintf(playlist_name, string_size, '%smedia_%d.m3u8', base_url, id);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavformat/dashenc.c: In function 'dash_flush':
libavformat/dashenc.c:1959:63: 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, os->initfile);
                                                               ^~
libavformat/dashenc.c:1959:13: 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->initfile);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavformat/dashenc.c: In function 'dash_write_trailer':
libavformat/dashenc.c:491:49: warning: 'media_' directive output may be truncated writing 6 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
         snprintf(playlist_name, string_size, '%smedia_%d.m3u8', base_url, id);
                                                 ^~~~~~
libavformat/dashenc.c:491:46: note: directive argument in the range [0, 2147483647]
         snprintf(playlist_name, string_size, '%smedia_%d.m3u8', base_url, id);
                                              ^~~~~~~~~~~~~~~~~
libavformat/dashenc.c:491:9: note: 'snprintf' output between 13 and 1045 bytes into a destination of size 1024
         snprintf(playlist_name, string_size, '%smedia_%d.m3u8', base_url, id);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavformat/dashenc.c: In function 'dash_write_packet':
libavformat/dashenc.c:2256: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:2256: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);
                  ~~~~~~~~~~~~~
libavformat/img2enc.c: In function 'write_packet':
libavformat/img2enc.c:172: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:172: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);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'new_rendition',
    inlined from 'parse_playlist' at libavformat/hls.c:821:13:
libavformat/hls.c:539: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/mlvdec.c: In function 'read_header':
libavformat/mlvdec.c:362: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:362:13: note: 'snprintf' output between 3 and 4 bytes into a destination of size 3
             snprintf(filename + strlen(filename) - 2, 3, '%02d', i);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavformat/mpegts.c: In function 'eit_cb':
libavformat/mpegts.c:2673:11: error: 'SectionHeader' {aka 'struct SectionHeader'} has no member named 'current_next'
     if (!h->current_next)
           ^~
libavformat/mpegts.c:2621:10: warning: variable 'language' set but not used [-Wunused-but-set-variable]
     char language[252];
          ^~~~~~~~
make: *** [ffbuild/common.mak:78: libavformat/mpegts.o] Error 1
make: *** Waiting for unfinished jobs....
libavformat/matroskaenc.c: In function 'mkv_write_trailer':
libavformat/matroskaenc.c:3013: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:3013: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));
                          ~~~~~~~~~~~~~~~~~~~~~~~