libavformat/dashenc.c: In function 'dash_write_packet':
libavformat/dashenc.c:2254: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,
                                                           ^~
In file included from /usr/include/stdio.h:862:0,
                 from ./libavutil/common.h:38,
                 from ./libavutil/avutil.h:296,
                 from ./libavutil/avassert.h:31,
                 from libavformat/dashenc.c:28:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 1 and 2047 bytes into a destination of size 1024
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavformat/protocols.c: In function 'avio_enum_protocols':
libavformat/protocols.c:99:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     p = p ? p + 1 : url_protocols;
       ^
libavformat/matroskaenc.c: In function 'mkv_write_trailer':
libavformat/matroskaenc.c:2612: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',
                                                          ^~~~~~~
In file included from /usr/include/stdio.h:862:0,
                 from ./libavutil/common.h:38,
                 from libavformat/avio.h:31,
                 from libavformat/av1.h:26,
                 from libavformat/matroskaenc.c:24:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 19 and 333 bytes into a destination of size 20
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavformat/smoothstreamingenc.c: In function 'ism_flush':
libavformat/smoothstreamingenc.c:510: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);
                                                 ^~~~~
In file included from /usr/include/stdio.h:862:0,
                 from libavformat/avformat.h:311,
                 from libavformat/smoothstreamingenc.c:28:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 6 and 1029 bytes into a destination of size 1024
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavformat/smoothstreamingenc.c:545: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);
                                                               ^~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:862:0,
                 from libavformat/avformat.h:311,
                 from libavformat/smoothstreamingenc.c:28:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 18 or more bytes (assuming 1041) into a destination of size 1024
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavformat/smoothstreamingenc.c:546: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);
                                                               ^~~~~~~~~~~
In file included from /usr/include/stdio.h:862:0,
                 from libavformat/avformat.h:311,
                 from libavformat/smoothstreamingenc.c:28:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 15 or more bytes (assuming 1038) into a destination of size 1024
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavformat/smoothstreamingenc.c:538: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);
                                                     ^~~~~
In file included from /usr/include/stdio.h:862:0,
                 from libavformat/avformat.h:311,
                 from libavformat/smoothstreamingenc.c:28:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 6 and 1029 bytes into a destination of size 1024
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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);
                                                              ^~~~~~
In file included from /usr/include/stdio.h:862:0,
                 from ./libavutil/common.h:38,
                 from libavformat/avio.h:31,
                 from libavformat/vorbiscomment.c:22:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 4 and 11 bytes into a destination of size 4
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]
In file included from /usr/include/stdio.h:862:0,
                 from ./libavutil/common.h:38,
                 from libavformat/avio.h:31,
                 from libavformat/vorbiscomment.c:22:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 13 and 21 bytes into a destination of size 13
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavformat/movenc.c: In function 'mov_flush_fragment':
libavformat/movenc.c:1075:8: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow]
     if (cluster_idx >= track->entry)
        ^
libavcodec/dvenc.c: In function 'dv_encode_video_segment':
libavcodec/dvenc.c:786:81: warning: array subscript is above array bounds [-Warray-bounds]
                                     for (a2 = a + 1; b->next[k] >= mb_area_start[a2 + 1]; a2++)
                                                                    ~~~~~~~~~~~~~^~~~~~~~
libavcodec/dvenc.c:786:81: warning: array subscript is above array bounds [-Warray-bounds]
libavcodec/mobiclip.c: In function 'add_coefficients':
libavcodec/mobiclip.c:470:24: warning: array subscript is above array bounds [-Warray-bounds]
             int a = mat[x * size + y];
                     ~~~^~~~~~~~~~~~~~
libavcodec/mobiclip.c:474:16: warning: array subscript is above array bounds [-Warray-bounds]
             mat[x * size + y] = b;
             ~~~^~~~~~~~~~~~~~
libavcodec/mobiclip.c:470:24: warning: array subscript is above array bounds [-Warray-bounds]
             int a = mat[x * size + y];
                     ~~~^~~~~~~~~~~~~~
libavcodec/mobiclip.c:474:16: warning: array subscript is above array bounds [-Warray-bounds]
             mat[x * size + y] = b;
             ~~~^~~~~~~~~~~~~~
libavcodec/mobiclip.c:470:24: warning: array subscript is above array bounds [-Warray-bounds]
             int a = mat[x * size + y];
                     ~~~^~~~~~~~~~~~~~
libavcodec/mobiclip.c:474:16: warning: array subscript is above array bounds [-Warray-bounds]
             mat[x * size + y] = b;
             ~~~^~~~~~~~~~~~~~
libavcodec/mobiclip.c:470:24: warning: array subscript is above array bounds [-Warray-bounds]
             int a = mat[x * size + y];
                     ~~~^~~~~~~~~~~~~~
libavcodec/mobiclip.c:474:16: warning: array subscript is above array bounds [-Warray-bounds]
             mat[x * size + y] = b;
             ~~~^~~~~~~~~~~~~~
libavcodec/mobiclip.c:470:24: warning: array subscript is above array bounds [-Warray-bounds]
             int a = mat[x * size + y];
                     ~~~^~~~~~~~~~~~~~
libavcodec/mobiclip.c:474:16: warning: array subscript is above array bounds [-Warray-bounds]
             mat[x * size + y] = b;
             ~~~^~~~~~~~~~~~~~
libavcodec/mobiclip.c:470:24: warning: array subscript is above array bounds [-Warray-bounds]
             int a = mat[x * size + y];
                     ~~~^~~~~~~~~~~~~~
libavcodec/mobiclip.c:474:16: warning: array subscript is above array bounds [-Warray-bounds]
             mat[x * size + y] = b;
             ~~~^~~~~~~~~~~~~~
libavcodec/mobiclip.c:470:24: warning: array subscript is above array bounds [-Warray-bounds]
             int a = mat[x * size + y];
                     ~~~^~~~~~~~~~~~~~
libavcodec/mobiclip.c:474:16: warning: array subscript is above array bounds [-Warray-bounds]
             mat[x * size + y] = b;
             ~~~^~~~~~~~~~~~~~
libavcodec/mobiclip.c:470:24: warning: array subscript is above array bounds [-Warray-bounds]
             int a = mat[x * size + y];
                     ~~~^~~~~~~~~~~~~~
libavcodec/mobiclip.c:474:16: warning: array subscript is above array bounds [-Warray-bounds]
             mat[x * size + y] = b;
             ~~~^~~~~~~~~~~~~~
libavutil/timecode.c: In function 'av_timecode_make_string':
libavutil/timecode.c:121:60: warning: '%02d' directive output may be truncated writing between 2 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%02d',
                                                            ^~~~
libavutil/timecode.c:121:41: note: directive argument in the range [0, 2147483647]
     snprintf(buf, AV_TIMECODE_STR_SIZE, '%s%02d:%02d:%02d%c%02d',
                                         ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:862:0,
                 from libavutil/timecode.c:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 12 and 32 bytes into a destination of size 23
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fftools/ffplay.c: In function 'opt_input_file':
fftools/ffplay.c:3559:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
     FILE *file = fopen(filename, 'rb');
     ^~~~
fftools/ffplay.c:3565:12: error: implicit declaration of function 'fmemopen'; did you mean 'freopen'? [-Werror=implicit-function-declaration]
     file = fmemopen(buf, size, 'rb');
            ^~~~~~~~
            freopen
fftools/ffplay.c:3565:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     file = fmemopen(buf, size, 'rb');
          ^
fftools/ffplay.c:3566:5: error: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Werror=implicit-function-declaration]
     asprintf(&input_filename, 'fileptr:%p', file);
     ^~~~~~~~
     vsprintf
cc1: some warnings being treated as errors
make: *** [fftools/ffplay.o] Error 1
make: *** Waiting for unfinished jobs....