|
|
|
@ -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)); |
|
|
|
|