FFmpeg  4.0
Macros | Functions
ffeval.c File Reference

simple arithmetic expression evaluator More...

#include "config.h"
#include "libavutil/eval.h"
#include "libavutil/mem.h"
#include "compat/getopt.c"

Go to the source code of this file.

Macros

#define GROW_ARRAY()
 

Functions

static void usage (void)
 
int main (int argc, char **argv)
 

Detailed Description

simple arithmetic expression evaluator

Definition in file ffeval.c.

Macro Definition Documentation

◆ GROW_ARRAY

#define GROW_ARRAY ( )
Value:
do { \
if (!av_dynarray2_add((void **)&buf, &buf_size, 1, NULL)) { \
av_log(NULL, AV_LOG_ERROR, \
"Memory allocation problem occurred\n"); \
return 1; \
} \
} while (0)
#define NULL
Definition: coverity.c:32
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
Definition: log.h:176
void * av_dynarray2_add(void **tab_ptr, int *nb_ptr, size_t elem_size, const uint8_t *elem_data)
Add an element of size elem_size to a dynamic array.
Definition: mem.c:322
void * buf
Definition: avisynth_c.h:690

Referenced by main().

Function Documentation

◆ usage()

static void usage ( void  )
static

Definition at line 38 of file ffeval.c.

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 51 of file ffeval.c.