19 #ifndef AVUTIL_TIME_INTERNAL_H 20 #define AVUTIL_TIME_INTERNAL_H 25 #if !HAVE_GMTIME_R && !defined(gmtime_r) 28 struct tm *ptr = gmtime(clock);
34 #define gmtime_r ff_gmtime_r 37 #if !HAVE_LOCALTIME_R && !defined(localtime_r) 40 struct tm *ptr = localtime(clock);
46 #define localtime_r ff_localtime_r
static struct tm * ff_gmtime_r(const time_t *clock, struct tm *result)
static struct tm * ff_localtime_r(const time_t *clock, struct tm *result)
and forward the result(frame or status change) to the corresponding input.If nothing is possible