On Fri, Nov 24, 2017 at 10:57:45AM +0530, Karthick J wrote:
> ---
>  libavformat/Makefile      |   2 +-
>  libavformat/hlsenc.c      | 115 +++++++--------------------------------
>  libavformat/hlsplaylist.c | 136 
> ++++++++++++++++++++++++++++++++++++++++++++++
>  libavformat/hlsplaylist.h |  51 +++++++++++++++++
>  4 files changed, 209 insertions(+), 95 deletions(-)
>  create mode 100644 libavformat/hlsplaylist.c
>  create mode 100644 libavformat/hlsplaylist.h

breaks build with mingw64

src/libavformat/hlsplaylist.c: In function ‘ff_hls_write_file_entry’:
src/libavformat/hlsplaylist.c:109:9: error: implicit declaration of function 
‘localtime_r’ [-Werror=implicit-function-declaration]
         tm = localtime_r(&tt, &tmpbuf);
         ^
src/libavformat/hlsplaylist.c:109:12: warning: assignment makes pointer from 
integer without a cast [enabled by default]
         tm = localtime_r(&tt, &tmpbuf);
            ^
src/libavformat/hlsplaylist.c:113:13: error: implicit declaration of function 
‘gmtime_r’ [-Werror=implicit-function-declaration]
             tm = gmtime_r(&tt, &tmpbuf);
             ^
src/libavformat/hlsplaylist.c:113:16: warning: assignment makes pointer from 
integer without a cast [enabled by default]
             tm = gmtime_r(&tt, &tmpbuf);
                ^
cc1: some warnings being treated as errors

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have often repented speaking, but never of holding my tongue.
-- Xenocrates

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to