You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
fix av_dlog call with non-AVClass struct
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
c203044f37
commit
94bf9ac473
@@ -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)
|
int ff_combine_frame(ParseContext *pc, int next, const uint8_t **buf, int *buf_size)
|
||||||
{
|
{
|
||||||
if(pc->overread){
|
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);
|
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. */
|
/* 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){
|
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);
|
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;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user