On Tue, 12 Jul 2011, Diego Biurrun wrote: > On Tue, Jul 12, 2011 at 03:59:25PM +0200, Anton Khirnov wrote: > > Module: libav > > Branch: master > > Commit: 5f847bf61dca1fd1a2f65a2f56c9a99d1cb716ab > > > > Author: Anton Khirnov <[email protected]> > > Committer: Anton Khirnov <[email protected]> > > Date: Thu Jul 7 11:25:03 2011 +0200 > > > > lavf: deprecate AVFormatContext.timestamp > > > > It's replaced by 'creation_time' metadata tag. > > > > --- a/libavformat/dvenc.c > > +++ b/libavformat/dvenc.c > > @@ -337,7 +338,16 @@ static DVMuxContext* dv_init_mux(AVFormatContext* s) > > c->has_video = 0; > > - c->start_time = (time_t)s->timestamp; > > +#if FF_API_TIMESTAMP > > + if (s->timestamp) > > + c->start_time = s->timestamp; > > + else > > +#endif > > + if (t = av_dict_get(s->metadata, "creation_time", NULL, 0)) { > > + struct tm time = {0}; > > + strptime(t->value, "%Y - %m - %dT%T", &time); > > The DOS FATE box chokes on this and fails to link, apparently there is > no strptime(): > > libavformat/libavformat.a(dvenc.o):dvenc.c:(.text+0xcc3): undefined reference > to `_strptime' > libavformat/libavformat.a(gxfenc.o):gxfenc.c:(.text+0xad3): undefined > reference to `_strptime' > libavformat/libavformat.a(movenc.o):movenc.c:(.text+0x2104): undefined > reference to `_strptime' > libavformat/libavformat.a(mxfenc.o):mxfenc.c:(.text+0x5c9): undefined > reference to `_strptime'
It also breaks compilation for Windows CE. // Martin _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
