libavformat/cutils.c File Reference

#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Defines

#define ISLEAP(y)   (((y) % 4 == 0) && (((y) % 100) != 0 || ((y) % 400) == 0))
#define LEAPS_COUNT(y)   ((y)/4 - (y)/100 + (y)/400)

Functions

void ff_dynarray_add (intptr_t **tab_ptr, int *nb_ptr, intptr_t elem)
time_t mktimegm (struct tm *tm)
struct tm * brktimegm (time_t secs, struct tm *tm)
static int date_get_num (const char **pp, int n_min, int n_max, int len_max)
const char * small_strptime (const char *p, const char *fmt, struct tm *dt)


Define Documentation

#define ISLEAP (  )     (((y) % 4 == 0) && (((y) % 100) != 0 || ((y) % 400) == 0))

Definition at line 63 of file cutils.c.

Referenced by brktimegm().

#define LEAPS_COUNT (  )     ((y)/4 - (y)/100 + (y)/400)

Definition at line 64 of file cutils.c.

Referenced by brktimegm().


Function Documentation

struct tm* brktimegm ( time_t  secs,
struct tm *  tm 
) [read]

Definition at line 68 of file cutils.c.

Referenced by dv_write_pack().

static int date_get_num ( const char **  pp,
int  n_min,
int  n_max,
int  len_max 
) [static]

Definition at line 100 of file cutils.c.

Referenced by small_strptime().

void ff_dynarray_add ( intptr_t **  tab_ptr,
int *  nb_ptr,
intptr_t  elem 
)

Definition at line 25 of file cutils.c.

time_t mktimegm ( struct tm *  tm  ) 

Definition at line 44 of file cutils.c.

Referenced by parse_date().

const char* small_strptime ( const char *  p,
const char *  fmt,
struct tm *  dt 
)

Definition at line 125 of file cutils.c.

Referenced by parse_date().


Generated on Fri Oct 26 02:36:54 2012 for FFmpeg by  doxygen 1.5.8