On Thu, Jul 21, 2016 at 03:31:32PM -0700, Carlos Fernandez Sanz wrote:
> From: carlos <car...@ccextractor.org>
> 
> Signed-off-by: carlos <car...@ccextractor.org>
> ---
>  libavformat/Makefile  |   1 +
>  libavformat/hlsenc.c  | 179 +++++++++++-------
>  libavformat/scte_35.c | 489 
> ++++++++++++++++++++++++++++++++++++++++++++++++++
>  libavformat/scte_35.h |  76 ++++++++
>  4 files changed, 680 insertions(+), 65 deletions(-)
>  create mode 100644 libavformat/scte_35.c
>  create mode 100644 libavformat/scte_35.h

this also fails to build on mingw64:

src/libavformat/scte_35.c: In function ‘parse_insert_cmd’:
src/libavformat/scte_35.c:207:5: error: implicit declaration of function ‘time’ 
[-Werror=implicit-function-declaration]
src/libavformat/scte_35.c:208:5: error: implicit declaration of function 
‘localtime’ [-Werror=implicit-function-declaration]
src/libavformat/scte_35.c:208:14: warning: assignment makes pointer from 
integer without a cast [enabled by default]
src/libavformat/scte_35.c:209:5: error: implicit declaration of function 
‘strftime’ [-Werror=implicit-function-declaration]
src/libavformat/scte_35.c:209:5: warning: incompatible implicit declaration of 
built-in function ‘strftime’ [enabled by default]
cc1: some warnings being treated as errors
make: *** [libavformat/scte_35.o] Error 1
make: *** Waiting for unfinished jobs....

maybe missing some include
also localtime() is not thread safe, please use localtime_r()
with include  libavutil/time_internal.h

[...]
-- 
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