mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/kgv1dec: add casts to silence "assignment from incompatible pointer type"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
bb605ef8ab
commit
5918c5a4cc
@ -82,8 +82,8 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
|
|||||||
|
|
||||||
if ((res = ff_get_buffer(avctx, frame, 0)) < 0)
|
if ((res = ff_get_buffer(avctx, frame, 0)) < 0)
|
||||||
return res;
|
return res;
|
||||||
out = c->frame_buffer;
|
out = (uint8_t*)c->frame_buffer;
|
||||||
prev = c->last_frame_buffer;
|
prev = (uint8_t*)c->last_frame_buffer;
|
||||||
|
|
||||||
for (i = 0; i < 8; i++)
|
for (i = 0; i < 8; i++)
|
||||||
offsets[i] = -1;
|
offsets[i] = -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user