cutils.c File Reference
#include "avformat.h"
#include "internal.h"
Include dependency graph for cutils.c:

Go to the source code of this file.

Macros

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

Functions

struct tm * ff_brktimegm (time_t secs, struct tm *tm)
 

Macro Definition Documentation

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

Definition at line 24 of file cutils.c.

Referenced by ff_brktimegm().

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

Definition at line 25 of file cutils.c.

Referenced by ff_brktimegm().

Function Documentation

struct tm* ff_brktimegm ( time_t  secs,
struct tm *  tm 
)

Definition at line 29 of file cutils.c.

Referenced by dv_write_pack().