]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/interplayvideo.c
alac: factor out loading of next decoded sample in LPC prediction
[ffmpeg] / libavcodec / interplayvideo.c
index 256b6c65b183fce361860a6cdac7aee4ae48cd4a..bee7a68e52c7f21d982db1d1900edc3a60f4556c 100644 (file)
@@ -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
@@ -1022,5 +1023,5 @@ AVCodec ff_interplay_video_decoder = {
     .close          = ipvideo_decode_end,
     .decode         = ipvideo_decode_frame,
     .capabilities   = CODEC_CAP_DR1 | CODEC_CAP_PARAM_CHANGE,
-    .long_name = NULL_IF_CONFIG_SMALL("Interplay MVE video"),
+    .long_name      = NULL_IF_CONFIG_SMALL("Interplay MVE video"),
 };