aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/interplayvideo.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-04-10 18:18:40 +0200
committerDiego Biurrun <diego@biurrun.de>2012-04-11 10:43:47 +0200
commit9676d8eb67b00e1bb52e448c20c8f5cb6ad5e1ef (patch)
tree2d070d8fcfd4512e6712fbacf9c05353f421d76f /libavcodec/interplayvideo.c
parent679481b3b61dda5e2827f9757bf8c12a8de193c9 (diff)
downloadffmpeg-9676d8eb67b00e1bb52e448c20c8f5cb6ad5e1ef.tar.gz
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]
Diffstat (limited to 'libavcodec/interplayvideo.c')
-rw-r--r--libavcodec/interplayvideo.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/interplayvideo.c b/libavcodec/interplayvideo.c
index 4732bf5325..bee7a68e52 100644
--- a/libavcodec/interplayvideo.c
+++ b/libavcodec/interplayvideo.c
@@ -907,8 +907,9 @@ static void ipvideo_decode_opcodes(IpvideoContext *s)
for (x = 0; x < s->avctx->width; x += 8) {
opcode = get_bits(&gb, 4);
- av_dlog(NULL, " block @ (%3d, %3d): encoding 0x%X, data ptr @ %p\n",
- x, y, opcode, s->stream_ptr);
+ av_dlog(s->avctx,
+ " block @ (%3d, %3d): encoding 0x%X, data ptr offset %d\n",
+ x, y, opcode, bytestream2_tell(&s->stream_ptr));
if (!s->is_16bpp) {
s->pixel_ptr = s->current_frame.data[0] + x