Libav
Macros | Functions
cutils.c File Reference
#include "libavutil/time_internal.h"
#include "avformat.h"
#include "internal.h"

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

void ff_dynarray_add (intptr_t **tab_ptr, int *nb_ptr, intptr_t elem)
 
struct tm * ff_brktimegm (time_t secs, struct tm *tm)
 

Macro Definition Documentation

◆ ISLEAP

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

Definition at line 47 of file cutils.c.

◆ LEAPS_COUNT

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

Definition at line 48 of file cutils.c.

Function Documentation

◆ ff_dynarray_add()

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

Definition at line 27 of file cutils.c.

◆ ff_brktimegm()

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

Definition at line 52 of file cutils.c.

Referenced by dv_write_pack().