FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

#define GROW_ARRAY ( )
Value:
do { \
if (!av_dynarray2_add((void **)&buf, &buf_size, 1, NULL)) { \
"Memory allocation problem occurred\n"); \
return 1; \
} \
} while (0)
#define NULL
Definition: coverity.c:32
#define av_log(a,...)
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
Definition: log.h:176
return
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:308
void * buf
Definition: avisynth_c.h:690
if(ret< 0)
Definition: vf_mcdeint.c:282

Referenced by main().

Function Documentation

static void usage ( void  )
static

Definition at line 38 of file ffeval.c.

Referenced by main().

int main ( int  argc,
char **  argv 
)

Definition at line 51 of file ffeval.c.