comparison avformat.h @ 515:ad72189eec07 libavformat

* replacing calls to not-always-available gmtime_r with our own code. The new helper function actually differs in semantics from gmtime_r, so if that seems to be a problem I can actually move it to dv.c completely, since only DV muxer uses the code anyway.
author romansh
date Wed, 18 Aug 2004 08:15:07 +0000
parents 056991ab9f10
children 59da52e5f5a5
comparison
equal deleted inserted replaced
514:828bdf418a7b 515:ad72189eec07
618 __dynarray_add((unsigned long **)(tab), nb_ptr, (unsigned long)(elem));\ 618 __dynarray_add((unsigned long **)(tab), nb_ptr, (unsigned long)(elem));\
619 } while(0) 619 } while(0)
620 #endif 620 #endif
621 621
622 time_t mktimegm(struct tm *tm); 622 time_t mktimegm(struct tm *tm);
623 struct tm *brktimegm(time_t secs, struct tm *tm);
623 const char *small_strptime(const char *p, const char *fmt, 624 const char *small_strptime(const char *p, const char *fmt,
624 struct tm *dt); 625 struct tm *dt);
625 626
626 struct in_addr; 627 struct in_addr;
627 int resolve_host(struct in_addr *sin_addr, const char *hostname); 628 int resolve_host(struct in_addr *sin_addr, const char *hostname);