diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-04-29 17:27:01 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-09-01 01:31:03 +0200 |
commit | aebb56e1844d61965c97e95534c3ae0da69df028 (patch) | |
tree | 7f32704e48844fbc928217ddcf6a10fc0b46a38f /libavcodec/parser.c | |
parent | 8c6fde8c17afb6b551698aa1b4ed79eab6527f9d (diff) | |
download | ffmpeg-aebb56e1844d61965c97e95534c3ae0da69df028.tar.gz |
Replace some commented-out debug printf() / av_log() messages with av_dlog().
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/parser.c')
-rw-r--r-- | libavcodec/parser.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libavcodec/parser.c b/libavcodec/parser.c index d4a6126611..ff71656f78 100644 --- a/libavcodec/parser.c +++ b/libavcodec/parser.c @@ -219,12 +219,11 @@ void av_parser_close(AVCodecParserContext *s) */ int ff_combine_frame(ParseContext *pc, int next, const uint8_t **buf, int *buf_size) { -#if 0 if(pc->overread){ - printf("overread %d, state:%X next:%d index:%d o_index:%d\n", pc->overread, pc->state, next, pc->index, pc->overread_index); - printf("%X %X %X %X\n", (*buf)[0], (*buf)[1],(*buf)[2],(*buf)[3]); + av_dlog(pc, "overread %d, state:%X next:%d index:%d o_index:%d\n", + pc->overread, pc->state, next, pc->index, pc->overread_index); + av_dlog(pc, "%X %X %X %X\n", (*buf)[0], (*buf)[1], (*buf)[2], (*buf)[3]); } -#endif /* Copy overread bytes from last frame into buffer. */ for(; pc->overread>0; pc->overread--){ |