diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-10-20 15:22:41 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-12-04 21:40:22 +0100 |
commit | cb45553f577f8e0ebfe05d3287e1b6fa5859b967 (patch) | |
tree | a351c06fb3fc1b79f40c9539af0820d9c630bd6c /libavformat/utils.c | |
parent | 90153465b04bf4175b8e85587d90b3b3e5399020 (diff) | |
download | ffmpeg-cb45553f577f8e0ebfe05d3287e1b6fa5859b967.tar.gz |
Remove pointless #undefs of previously forbidden functions.
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 481760b5ad..12b054d935 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -3092,7 +3092,6 @@ static void hex_dump_internal(void *avcl, FILE *f, int level, 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) { @@ -3130,7 +3129,6 @@ void av_hex_dump_log(void *avcl, int level, const uint8_t *buf, int size) 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)); |