Browse Source

avcodec/kgv1dec: add casts to silence "assignment from incompatible pointer type"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer 11 years ago
parent
commit
5918c5a4cc
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/kgv1dec.c

+ 2
- 2
libavcodec/kgv1dec.c View File

@@ -82,8 +82,8 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,

if ((res = ff_get_buffer(avctx, frame, 0)) < 0)
return res;
out = c->frame_buffer;
prev = c->last_frame_buffer;
out = (uint8_t*)c->frame_buffer;
prev = (uint8_t*)c->last_frame_buffer;

for (i = 0; i < 8; i++)
offsets[i] = -1;


Loading…
Cancel
Save