Go to the documentation of this file.
31 va_start(
args, buffer_size);
37 int main(
int argc,
char **argv)
56 printf(
"Test NULL buffer failed.\n");
61 printf(
"Test buffer too small failed.\n");
66 printf(
"Test buffer sufficiently big failed.\n");
static int call_log_format_line2(const char *fmt, char *buffer, int buffer_size,...)
#define AV_LOG_QUIET
Print no output.
#define AV_LOG_PANIC
Something went really wrong and we will crash now.
int av_log_format_line2(void *ptr, int level, const char *fmt, va_list vl, char *line, int line_size, int *print_prefix)
Format a line of log the same way as the default callback.
#define AV_LOG_DEBUG
Stuff which is only useful for libav* developers.
and forward the result(frame or status change) to the corresponding input. If nothing is possible
printf("static const uint8_t my_array[100] = {\n")
#define AV_LOG_INFO
Standard information.
void av_log(void *avcl, int level, const char *fmt,...)
void av_log_set_level(int level)
Set the log level.
#define i(width, name, range_min, range_max)
const char AVS_Value args
#define AV_LOG_FATAL
Something went wrong and recovery is not possible.
the frame and frame reference mechanism is intended to as much as expensive copies of that data while still allowing the filters to produce correct results The data is stored in buffers represented by AVFrame structures Several references can point to the same frame buffer
int main(int argc, char **argv)