mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-24 17:12:34 +02:00
interplayvideo: fix av_dlog parameter type mismatch
libavcodec/interplayvideo.c:909:13: warning: format ‘%p’ expects argument of type ‘void *’, but argument 7 has type ‘GetByteContext’ [-Wformat]
This commit is contained in:
parent
679481b3b6
commit
9676d8eb67
@ -907,8 +907,9 @@ static void ipvideo_decode_opcodes(IpvideoContext *s)
|
|||||||
for (x = 0; x < s->avctx->width; x += 8) {
|
for (x = 0; x < s->avctx->width; x += 8) {
|
||||||
opcode = get_bits(&gb, 4);
|
opcode = get_bits(&gb, 4);
|
||||||
|
|
||||||
av_dlog(NULL, " block @ (%3d, %3d): encoding 0x%X, data ptr @ %p\n",
|
av_dlog(s->avctx,
|
||||||
x, y, opcode, s->stream_ptr);
|
" block @ (%3d, %3d): encoding 0x%X, data ptr offset %d\n",
|
||||||
|
x, y, opcode, bytestream2_tell(&s->stream_ptr));
|
||||||
|
|
||||||
if (!s->is_16bpp) {
|
if (!s->is_16bpp) {
|
||||||
s->pixel_ptr = s->current_frame.data[0] + x
|
s->pixel_ptr = s->current_frame.data[0] + x
|
||||||
|
Loading…
x
Reference in New Issue
Block a user