#include "golomb.h"
#include "put_bits.h"
-#undef fprintf
#define COUNT 8191
#define SIZE (COUNT * 4)
}
#ifdef TEST
-#undef printf
#include <stdio.h>
#define FILT_ORDER 4
memcpy(avctx->extradata, buffer, avctx->extradata_size);
faac_cfg->outputFormat = 0;
}
-#undef free
free(buffer);
-#define free please_use_av_free
}
if (!faacEncSetConfiguration(s->faac_handle, faac_cfg)) {
#include "libavformat/avformat.h"
#include "libavformat/internal.h"
-/* cdio returns some malloced strings that need to be free()d */
-#undef free
-
typedef struct CDIOContext {
AVClass *class;
cdrom_drive_t *drive;
#define DC1394_FRAMERATE_240 FRAMERATE_240
#endif
-#undef free
-
typedef struct dc1394_data {
AVClass *class;
#if HAVE_LIBDC1394_1
#include "libavutil/lfg.h"
#define LFG_MAX ((1LL << 32) - 1)
-#undef printf
-
int main(void)
{
AVLFG prng;
#include "libavfilter/avfilter.h"
#include "libavfilter/formats.h"
-#undef fprintf
-#undef printf
-
int main(int argc, char **argv)
{
AVFilter *filter;
#include "internal.h"
#include "video.h"
-#undef time
-
#include <ft2build.h>
#include <freetype/config/ftheader.h>
#include FT_FREETYPE_H
#if HAVE_THREADS && GNUTLS_VERSION_NUMBER <= 0x020b00
#include <gcrypt.h>
#include <errno.h>
-#undef malloc
-#undef free
GCRY_THREAD_OPTION_PTHREAD_IMPL;
#endif
#endif
#include "libavformat/avformat.h"
#include "libswscale/swscale.h"
-#undef exit
-
/* 5 seconds stream duration */
#define STREAM_DURATION 5.0
#define STREAM_FRAME_RATE 25 /* 25 images/s */
#include "libavutil/mathematics.h"
#include "libavformat/avformat.h"
-#undef printf
-#undef fprintf
-
static char buffer[20];
static const char *ret_str(int v)
#include "internal.h"
-#undef printf
-#undef exit
-
static void test(const char *base, const char *rel)
{
char buf[200], buf2[200];
const uint8_t *buf, int size)
{
int len, i, j, c;
-#undef fprintf
#define PRINT(...) do { if (!f) av_log(avcl, level, __VA_ARGS__); else fprintf(f, __VA_ARGS__); } while(0)
for(i=0;i<size;i+=16) {
static void pkt_dump_internal(void *avcl, FILE *f, int level, AVPacket *pkt, int dump_payload, AVRational time_base)
{
-#undef fprintf
#define PRINT(...) do { if (!f) av_log(avcl, level, __VA_ARGS__); else fprintf(f, __VA_ARGS__); } while(0)
PRINT("stream #%d:\n", pkt->stream_index);
PRINT(" keyframe=%d\n", ((pkt->flags & AV_PKT_FLAG_KEY) != 0));
#ifdef TEST
#include "common.h"
-#undef printf
int main(void)
{
#ifdef TEST
-#undef printf
-
#define MAX_DATA_SIZE 1024
#define MAX_ENCODED_SIZE 2048
#ifdef TEST
#include <stdio.h>
-#undef printf
#define NUM_VARIABLE_KEY_TESTS 34
#define IV "blowfish"
-#undef exit
static void test_blowfish(AVBlowfish *ctx, uint8_t *dst, const uint8_t *src,
const uint8_t *ref, int len, uint8_t *iv, int dir,
const char *test)
#ifdef TEST
-#undef printf
#include <stdio.h>
static const struct {
}
#ifdef TEST
-#undef printf
int main(void)
{
uint8_t buf[1999];
}
#ifdef TEST
-#undef printf
-#undef rand
-#undef srand
#include <stdlib.h>
#include <stdio.h>
#include "libavutil/time.h"
}
#ifdef TEST
-#undef printf
#include <string.h>
static const double const_values[] = {
#ifdef TEST
-#undef printf
-
int main(void)
{
/* create a FIFO buffer */
#endif
static int use_color = -1;
-#undef fprintf
static void colored_fputs(int level, const char *str)
{
if (use_color < 0) {
if (level > av_log_level)
return;
line[0] = 0;
-#undef fprintf
if (print_prefix && avc) {
if (avc->parent_log_context_offset) {
AVClass** parent = *(AVClass ***) (((uint8_t *) ptr) +
}
#ifdef TEST
-#undef printf
#include <stdio.h>
static void print_md5(uint8_t *md5)
#include "intreadwrite.h"
#include "mem.h"
-/* here we can use OS-dependent allocation functions */
-#undef free
-#undef malloc
-#undef realloc
-
#ifdef MALLOC_PREFIX
#define malloc AV_JOIN(MALLOC_PREFIX, malloc)
#ifdef TEST
-#undef printf
-
typedef struct TestContext
{
const AVClass *class;
char lastch;
int negative = 0;
-#undef time
time_t now = time(0);
len = strlen(timestr);
#ifdef TEST
-#undef printf
-
int main(void)
{
printf("Testing av_parse_video_rate()\n");
#ifdef TEST
#include <stdio.h>
-#undef printf
int main(void)
{
#ifdef TEST
#include <stdio.h>
-#undef printf
#define XTEA_NUM_TESTS 6
{ 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41 }
};
-#undef exit
static void test_xtea(AVXTEA *ctx, uint8_t *dst, const uint8_t *src,
const uint8_t *ref, int len, uint8_t *iv, int dir,
const char *test)