FFmpeg
Macros | Functions
avcodec.c File Reference
#include "libavutil/opt.h"
#include "libavcodec/codec.h"
#include "libavcodec/codec_desc.h"
#include "libavcodec/internal.h"

Go to the source code of this file.

Macros

#define AV_LOG(...)   av_log(NULL, AV_LOG_FATAL, __VA_ARGS__)
 
#define ERR_INTERNAL(msg, ...)
 
#define ERR(msg)   ERR_INTERNAL(msg, )
 
#define ERR_EXT(msg, ...)   ERR_INTERNAL(msg, , __VA_ARGS__)
 

Functions

static const char * get_type_string (enum AVMediaType type)
 
static int priv_data_size_wrong (const AVCodec *codec)
 
int main (void)
 

Macro Definition Documentation

◆ AV_LOG

#define AV_LOG (   ...)    av_log(NULL, AV_LOG_FATAL, __VA_ARGS__)

Definition at line 30 of file avcodec.c.

◆ ERR_INTERNAL

#define ERR_INTERNAL (   msg,
  ... 
)
Value:
do { \
AV_LOG(msg, codec->name __VA_ARGS__); \
ret = 1; \
} while (0)

Definition at line 31 of file avcodec.c.

◆ ERR

#define ERR (   msg)    ERR_INTERNAL(msg, )

Definition at line 36 of file avcodec.c.

◆ ERR_EXT

#define ERR_EXT (   msg,
  ... 
)    ERR_INTERNAL(msg, , __VA_ARGS__)

Definition at line 37 of file avcodec.c.

Function Documentation

◆ get_type_string()

static const char* get_type_string ( enum AVMediaType  type)
static

Definition at line 24 of file avcodec.c.

Referenced by main().

◆ priv_data_size_wrong()

static int priv_data_size_wrong ( const AVCodec codec)
static

Definition at line 39 of file avcodec.c.

Referenced by main().

◆ main()

int main ( void  )

Definition at line 58 of file avcodec.c.