summaryrefslogtreecommitdiff
path: root/libavcodec/parser.c
diff options
context:
space:
mode:
authorMaksym Veremeyenko <verem@m1stereo.tv>2012-01-16 16:20:58 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-01-16 20:32:16 +0100
commit94bf9ac4738c318189a1a36e8cdc8195d2db0d64 (patch)
tree52a90833e46ea74071c5029debbf74d1c40d064c /libavcodec/parser.c
parentc203044f37c421e8c1aec3fd1123bb509f8adb3f (diff)
fix av_dlog call with non-AVClass struct
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/parser.c')
-rw-r--r--libavcodec/parser.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/parser.c b/libavcodec/parser.c
index 058d78a6aa..d83d4c3d11 100644
--- a/libavcodec/parser.c
+++ b/libavcodec/parser.c
@@ -220,9 +220,9 @@ void av_parser_close(AVCodecParserContext *s)
int ff_combine_frame(ParseContext *pc, int next, const uint8_t **buf, int *buf_size)
{
if(pc->overread){
- av_dlog(pc, "overread %d, state:%X next:%d index:%d o_index:%d\n",
+ av_dlog(NULL, "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]);
+ av_dlog(NULL, "%X %X %X %X\n", (*buf)[0], (*buf)[1], (*buf)[2], (*buf)[3]);
}
/* Copy overread bytes from last frame into buffer. */
@@ -272,9 +272,9 @@ int ff_combine_frame(ParseContext *pc, int next, const uint8_t **buf, int *buf_s
}
if(pc->overread){
- av_dlog(pc, "overread %d, state:%X next:%d index:%d o_index:%d\n",
+ av_dlog(NULL, "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]);
+ av_dlog(NULL, "%X %X %X %X\n", (*buf)[0], (*buf)[1],(*buf)[2],(*buf)[3]);
}
return 0;