Go to the source code of this file.
◆ AV_LOG
◆ ERR_INTERNAL
| #define ERR_INTERNAL |
( |
| msg, |
|
|
| ... ) |
Value:do { \
AV_LOG(msg, codec->name __VA_ARGS__); \
ret = 1; \
} while (0)
Definition at line 32 of file avcodec.c.
◆ ERR
Value:
#define ERR_INTERNAL(msg,...)
Definition at line 37 of file avcodec.c.
Referenced by main().
◆ ERR_EXT
| #define ERR_EXT |
( |
| msg, |
|
|
| ... ) |
◆ ARRAY_CHECK
| #define ARRAY_CHECK |
( |
| field, |
|
|
| var, |
|
|
| type, |
|
|
| is_sentinel, |
|
|
| check, |
|
|
| sentinel_check ) |
Value:do { \
const type *ptr = codec2->field; \
if (!ptr) \
break; \
if (is_sentinel) { \
ERR("Codec %s sets " #field ", but without valid elements.\n"); \
break; \
} \
do { \
ERR("Codec's %s " #field " array contains invalid element\n");\
break; \
} \
++ptr; \
var = *ptr; \
} while (!(is_sentinel)); \
if (!(sentinel_check)) { \
ERR("Codec's %s " #field " array has malformed sentinel\n"); \
break; \
} \
} while (0)
#define check(x, y, S, v)
Definition at line 59 of file avcodec.c.
Referenced by main().
◆ CHECK
Value:(codec2->cb_type == FF_CODEC_CB_TYPE_ ##
TYPE && !codec2->cb.type)
Referenced by main().
◆ get_type_string()
| static const char * get_type_string |
( |
enum AVMediaType | type | ) |
|
|
static |
◆ priv_data_size_wrong()
| static int priv_data_size_wrong |
( |
const FFCodec * | codec | ) |
|
|
static |
◆ main()