In file included from ./libavutil/common.h:48,
                 from ./libavutil/avutil.h:301,
                 from ./libavutil/opt.h:31,
                 from libavdevice/sdl2.c:31:
./config.h:334: warning: 'HAVE_PTHREAD_SETNAME_NP' redefined
 #define HAVE_PTHREAD_SETNAME_NP 0
 
In file included from /usr/include/SDL2/SDL_stdinc.h:31,
                 from /usr/include/SDL2/SDL_main.h:25,
                 from /usr/include/SDL2/SDL.h:32,
                 from libavdevice/sdl2.c:26:
/usr/include/SDL2/SDL_config.h:188: note: this is the location of the previous definition
 #define HAVE_PTHREAD_SETNAME_NP 1
 
libavformat/dashenc.c: In function 'dash_init':
libavformat/dashenc.c:1577: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:1577: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:1577: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:1581: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:1581: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/farbfelddec.c:32:10: fatal error: utils.h: No such file or directory
 #include 'utils.h'
          ^~~~~~~~~
compilation terminated.
make: *** [ffbuild/common.mak:81: libavformat/farbfelddec.o] Error 1
make: *** Waiting for unfinished jobs....
libavformat/dashenc.c: In function 'flush_init_segment':
libavformat/dashenc.c:594: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:594: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:488: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:488: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:1957: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:1957: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:488: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:488:46: note: directive argument in the range [0, 2147483647]
         snprintf(playlist_name, string_size, '%smedia_%d.m3u8', base_url, id);
                                              ^~~~~~~~~~~~~~~~~
libavformat/dashenc.c:488: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: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,
                                                           ^~
libavformat/dashenc.c:2254: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);
                  ~~~~~~~~~~~~~