Commit 3d973e46 authored by Anton Khirnov's avatar Anton Khirnov

interplayvideo: remove a static variable.

parent 089b3d68
...@@ -882,12 +882,8 @@ static void ipvideo_decode_opcodes(IpvideoContext *s) ...@@ -882,12 +882,8 @@ static void ipvideo_decode_opcodes(IpvideoContext *s)
int x, y; int x, y;
unsigned char opcode; unsigned char opcode;
int ret; int ret;
static int frame = 0;
GetBitContext gb; GetBitContext gb;
av_dlog(NULL, "------------------ frame %d\n", frame);
frame++;
bytestream2_skip(&s->stream_ptr, 14); /* data starts 14 bytes in */ bytestream2_skip(&s->stream_ptr, 14); /* data starts 14 bytes in */
if (!s->is_16bpp) { if (!s->is_16bpp) {
/* this is PAL8, so make the palette available */ /* this is PAL8, so make the palette available */
...@@ -923,7 +919,7 @@ static void ipvideo_decode_opcodes(IpvideoContext *s) ...@@ -923,7 +919,7 @@ static void ipvideo_decode_opcodes(IpvideoContext *s)
} }
if (ret != 0) { if (ret != 0) {
av_log(s->avctx, AV_LOG_ERROR, " Interplay video: decode problem on frame %d, @ block (%d, %d)\n", av_log(s->avctx, AV_LOG_ERROR, " Interplay video: decode problem on frame %d, @ block (%d, %d)\n",
frame, x, y); s->avctx->frame_number, x, y);
return; return;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment